cvs: /php4/ext/session session.c
| From: | Andrey Zmievski | Date: | Sun, 12 Sep 1999 00:07:11 +0000 |
| Subject: | cvs: /php4/ext/session session.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4340@lists.php.net to get a copy of this message | ||
andrey Sat Sep 11 20:07:11 1999 EDT
Modified files:
/php4/ext/session session.c
Log:
Use global symbol table instead..
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.43 php4/ext/session/session.c:1.44
--- php4/ext/session/session.c:1.43 Sat Sep 11 19:47:16 1999
+++ php4/ext/session/session.c Sat Sep 11 20:07:10 1999
@@ -786,9 +786,9 @@
for(zend_hash_internal_pointer_reset(&PS(vars));
zend_hash_get_current_key(&PS(vars), &variable, NULL) == HASH_KEY_IS_STRING;
zend_hash_move_forward(&PS(vars))) {
- if(zend_hash_find(EG(active_symbol_table), variable, strlen(variable) + 1, (void **) &tmp)
+ if(zend_hash_find(&EG(symbol_table), variable, strlen(variable) + 1, (void **) &tmp)
== SUCCESS) {
- zend_hash_del(EG(active_symbol_table), variable, strlen(variable) + 1);
+ zend_hash_del(&EG(symbol_table), variable, strlen(variable) + 1);
}
}
}