From 9882929bfa4422765c1b1fde6a612fa48bfcce2e Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Wed, 26 Dec 2018 17:34:03 +0300 Subject: [PATCH] Removed transparent wrapper --- main/main.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) 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; -- 2.50.1