Skip to content

Commit

Permalink
WS
Browse files Browse the repository at this point in the history
  • Loading branch information
tony2001 committed Aug 30, 2008
1 parent 5f17800 commit 322d57f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main/php_variables.c
Expand Up @@ -69,7 +69,7 @@ PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars
HashTable *symtable1 = NULL;

assert(var_name != NULL);

if (track_vars_array) {
symtable1 = Z_ARRVAL_P(track_vars_array);
} else if (PG(register_globals)) {
Expand All @@ -88,8 +88,8 @@ PHPAPI void php_register_variable_ex(char *var_name, zval *val, zval *track_vars
* Prepare variable name
*/

var_orig = estrdup(var_name);
var = var_orig;
var_orig = estrdup(var_name);
var = var_orig;
/* ignore leading spaces in the variable name */
while (*var && *var==' ') {
var++;
Expand Down

0 comments on commit 322d57f

Please sign in to comment.