]> granicus.if.org Git - php/commitdiff
fix build - missing closing parenthesis
authorRob Richards <rrichards@php.net>
Sun, 2 Oct 2005 11:33:27 +0000 (11:33 +0000)
committerRob Richards <rrichards@php.net>
Sun, 2 Oct 2005 11:33:27 +0000 (11:33 +0000)
main/php_variables.c

index 3176631c7b95b00627d3401a18eada89eceabc95..a1fb5cc1b73d1057b9ce0aff7428448f925a7209 100644 (file)
@@ -74,7 +74,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra
        } else if (PG(register_globals)) {
                symtable1 = EG(active_symbol_table);
                /* GLOBALS hijack attempt, reject parameter */
-               if (!strncmp("GLOBALS", var, sizeof("GLOBALS")) || !strncmp("GLOBALS", var, sizeof("GLOBALS[")-1) {
+               if (!strncmp("GLOBALS", var, sizeof("GLOBALS")) || !strncmp("GLOBALS", var, sizeof("GLOBALS[")-1)) {
                        return;
                }
        }