cvs: /php4/ext/session session.c
| From: | Andrei Zmievski | Date: | Sat, 04 Dec 1999 17:06:15 +0000 |
| Subject: | cvs: /php4/ext/session session.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-7400@lists.php.net to get a copy of this message | ||
andrei Sat Dec 4 12:06:15 1999 EDT
Modified files:
/php4/ext/session session.c
Log:
(PHP session_register) Correct calling convention.
Index: php4/ext/session/session.c
diff -u php4/ext/session/session.c:1.70 php4/ext/session/session.c:1.71
--- php4/ext/session/session.c:1.70 Sat Dec 4 12:02:04 1999
+++ php4/ext/session/session.c Sat Dec 4 12:05:45 1999
@@ -779,7 +779,7 @@
zend_hash_internal_pointer_reset((*entry)->value.ht);
while(zend_hash_get_current_data((*entry)->value.ht, (void**)&value) == SUCCESS) {
- php_register_var(value PSLS_CC PLS_DC);
+ php_register_var(value PSLS_CC PLS_CC);
zend_hash_move_forward((*entry)->value.ht);
}
} else if (!PG(track_vars) || strcmp((*entry)->value.str.val, "HTTP_STATE_VARS") !=
0) {
@@ -818,7 +818,7 @@
if ((*args[i])->type == IS_ARRAY) {
SEPARATE_ZVAL(args[i]);
}
- php_register_var(args[i] PSLS_CC PLS_DC);
+ php_register_var(args[i] PSLS_CC PLS_CC);
}
efree(args);