summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2005-07-18 16:20:08 +0000
committerDmitry Stogov <dmitry@php.net>2005-07-18 16:20:08 +0000
commit70bd938bbdc264f94d6b480ae535636a241b5e3c (patch)
tree5792b3a644406d170543ac43e604c1a87c68f454 /main
parente63d1706cfe5fc572ea99df499ee11875034259b (diff)
downloadphp-git-70bd938bbdc264f94d6b480ae535636a241b5e3c.tar.gz
Fixed bug in new module statrup mechanism
Diffstat (limited to 'main')
-rw-r--r--main/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}