From: Dmitry Stogov Date: Wed, 26 Dec 2018 14:34:03 +0000 (+0300) Subject: Removed transparent wrapper X-Git-Tag: php-7.4.0alpha1~1345 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9882929bfa4422765c1b1fde6a612fa48bfcce2e;p=php Removed transparent wrapper --- diff --git a/main/main.c b/main/main.c index a885497cd8..69d5ccc715 100644 --- a/main/main.c +++ b/main/main.c @@ -1987,14 +1987,6 @@ PHPAPI void php_com_initialize(void) } /* }}} */ -/* {{{ php_output_wrapper - */ -static size_t php_output_wrapper(const char *str, size_t str_length) -{ - return php_output_write(str, str_length); -} -/* }}} */ - #ifdef ZTS /* {{{ core_globals_ctor */ @@ -2171,7 +2163,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod zuf.error_function = php_error_cb; zuf.printf_function = php_printf; - zuf.write_function = php_output_wrapper; + zuf.write_function = php_output_write; zuf.fopen_function = php_fopen_wrapper_for_zend; zuf.message_handler = php_message_handler_for_zend; zuf.get_configuration_directive = php_get_configuration_directive_for_zend;