summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2018-12-26 17:34:03 +0300
committerDmitry Stogov <dmitry@zend.com>2018-12-26 17:34:03 +0300
commit9882929bfa4422765c1b1fde6a612fa48bfcce2e (patch)
treebc77ad866821bdf4a5af2eb53e25afe6ce6e9b89 /main/main.c
parent92ecc93aca589821cb1879f0e37cfdd5d54dcd1f (diff)
downloadphp-git-9882929bfa4422765c1b1fde6a612fa48bfcce2e.tar.gz
Removed transparent wrapper
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c10
1 files changed, 1 insertions, 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;