Fixed bug in new module statrup mechanism

This commit is contained in:
Dmitry Stogov 2005-07-18 16:20:08 +00:00
parent e63d1706cf
commit 70bd938bbd
4 changed files with 12 additions and 12 deletions

View file

@ -1296,7 +1296,7 @@ int php_register_extensions(zend_module_entry **ptr, int count TSRMLS_DC)
while (ptr < end) {
if (*ptr) {
if (zend_register_internal_module(*ptr TSRMLS_CC)==FAILURE) {
if (zend_register_internal_module(*ptr TSRMLS_CC)==NULL) {
return FAILURE;
}
}