From 70bd938bbdc264f94d6b480ae535636a241b5e3c Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Mon, 18 Jul 2005 16:20:08 +0000 Subject: Fixed bug in new module statrup mechanism --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/main.c b/main/main.c index 9c17d0fcb8..6c511e21b5 100644 --- a/main/main.c +++ b/main/main.c @@ -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; } } -- cgit v1.2.1