mirror of
https://github.com/php/php-src.git
synced 2024-11-28 20:34:29 +08:00
Removed transparent wrapper
This commit is contained in:
parent
92ecc93aca
commit
9882929bfa
10
main/main.c
10
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;
|
||||
|
Loading…
Reference in New Issue
Block a user