Skip to content

Commit 9882929

Browse files
committed
Removed transparent wrapper
1 parent 92ecc93 commit 9882929

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

main/main.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,14 +1987,6 @@ PHPAPI void php_com_initialize(void)
19871987
}
19881988
/* }}} */
19891989

1990-
/* {{{ php_output_wrapper
1991-
*/
1992-
static size_t php_output_wrapper(const char *str, size_t str_length)
1993-
{
1994-
return php_output_write(str, str_length);
1995-
}
1996-
/* }}} */
1997-
19981990
#ifdef ZTS
19991991
/* {{{ core_globals_ctor
20001992
*/
@@ -2171,7 +2163,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
21712163

21722164
zuf.error_function = php_error_cb;
21732165
zuf.printf_function = php_printf;
2174-
zuf.write_function = php_output_wrapper;
2166+
zuf.write_function = php_output_write;
21752167
zuf.fopen_function = php_fopen_wrapper_for_zend;
21762168
zuf.message_handler = php_message_handler_for_zend;
21772169
zuf.get_configuration_directive = php_get_configuration_directive_for_zend;

0 commit comments

Comments
 (0)