summaryrefslogtreecommitdiff
path: root/Zend/zend_builtin_functions.c
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2011-11-18 09:15:15 +0000
committerStanislav Malyshev <stas@php.net>2011-11-18 09:15:15 +0000
commit66877fbd1505b3683ce6f74ec10dc6598d56ad0d (patch)
tree6964d022d8e2862579c0e1bae2347af182600ab4 /Zend/zend_builtin_functions.c
parent5008390304e616c59ff8151605b58d03d163ff62 (diff)
downloadphp-git-66877fbd1505b3683ce6f74ec10dc6598d56ad0d.tar.gz
fix typo
Diffstat (limited to 'Zend/zend_builtin_functions.c')
-rw-r--r--Zend/zend_builtin_functions.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index e4d6303839..d8392283ee 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -706,7 +706,7 @@ repeat:
}
c.flags = case_sensitive; /* non persistent */
c.name = IS_INTERNED(name) ? name : zend_strndup(name, name_len);
- if(name == NULL) {
+ if(c.name == NULL) {
RETURN_FALSE;
}
c.name_len = name_len+1;