1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 02:33:17 +02:00

Don't use zend_ascii_hash_find() here -- module names are binary strings.

This commit is contained in:
Andrei Zmievski
2006-12-08 19:13:31 +00:00
parent 3945133579
commit 4097992ed4
+1 -1
View File
@@ -1764,7 +1764,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
if (sapi_module.additional_functions) {
zend_module_entry *module;
if (zend_ascii_hash_find(&module_registry, "standard", sizeof("standard"), (void**)&module)==SUCCESS) {
if (zend_hash_find(&module_registry, "standard", sizeof("standard"), (void**)&module)==SUCCESS) {
EG(current_module) = module;
zend_register_functions(NULL, sapi_module.additional_functions, NULL, MODULE_PERSISTENT TSRMLS_CC);
EG(current_module) = NULL;