summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2001-03-13 17:11:43 +0000
committerSascha Schumann <sas@php.net>2001-03-13 17:11:43 +0000
commit667a1f1fdb84508f03a2f8494c819fbdd56bd6e9 (patch)
treedf2dbceee668ada90f41623210069e1f9310ee11 /ext/session
parent91554d8b9c0e7260dc5a1a5ef013468d1471b76b (diff)
downloadphp-git-667a1f1fdb84508f03a2f8494c819fbdd56bd6e9.tar.gz
buf is gone. Don't reference it.
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 825cb3a66e..556e50a102 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -935,7 +935,7 @@ static void php_session_start(PSLS_D)
smart_str_appendc(&var, '=');
smart_str_appends(&var, PS(id));
smart_str_0(&var);
- REGISTER_STRING_CONSTANT("SID", buf, 0);
+ REGISTER_STRING_CONSTANT("SID", var.c, 0);
} else
REGISTER_STRING_CONSTANT("SID", empty_string, 0);
PS(define_sid) = define_sid;