summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
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;
}
}