summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2000-09-19 17:22:37 +0000
committerSascha Schumann <sas@php.net>2000-09-19 17:22:37 +0000
commit2ec043606ba942617ed615bea0df998629c8b058 (patch)
tree77ac43abce01553654e0b2117883dd53085e9db3 /ext/session
parente986a4b0a3966bd93c0413a685efcd2f159a818c (diff)
downloadphp-git-2ec043606ba942617ed615bea0df998629c8b058.tar.gz
*** empty log message ***
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/session.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/session/session.c b/ext/session/session.c
index 77a0acc681..5152cae3f2 100644
--- a/ext/session/session.c
+++ b/ext/session/session.c
@@ -1329,12 +1329,10 @@ void session_adapt_uris(const char *src, uint srclen, char **new, uint *newlen)
{
char *data;
size_t len;
- char buf[512];
PSLS_FETCH();
if (PS(define_sid) && PS(nr_open_sessions) > 0) {
- snprintf(buf, sizeof(buf), "%s=%s", PS(session_name), PS(id));
- data = url_adapt(src, srclen, buf, &len);
+ data = url_adapt_ext(src, srclen, PS(session_name), PS(id), &len);
*new = data;
*newlen = len;
}