mirror of
https://github.com/php/php-src.git
synced 2024-09-25 20:07:26 +00:00
- return SUCCESS on success
- check return value
This commit is contained in:
parent
4b9ddc9403
commit
b0dcfe527e
@ -123,6 +123,7 @@ static php_win32_disable_functions() {
|
||||
}
|
||||
}
|
||||
}
|
||||
return SUCCESS;
|
||||
}
|
||||
#endif
|
||||
|
||||
@ -2090,7 +2091,10 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
/* Disable incompatible functions for the running platform */
|
||||
php_win32_disable_functions();
|
||||
if (php_win32_disable_functions() == FAILURE) {
|
||||
php_printf("Unable to disable unsupported functions\n");
|
||||
return FAILURE;
|
||||
}
|
||||
#endif
|
||||
zend_post_startup(TSRMLS_C);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user