From c917e170f692f62e3e3969e2d16b29f0d82278f5 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Tue, 11 Jul 2000 12:29:19 +0000 Subject: [PATCH] Always use the current DIR_DELIMITER to create the session file path --- ext/session/mod_files.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/session/mod_files.c b/ext/session/mod_files.c index 6a9abea04a..237a2ef567 100644 --- a/ext/session/mod_files.c +++ b/ext/session/mod_files.c @@ -98,7 +98,7 @@ static char *_ps_files_path_create(char *buf, size_t buflen, ps_files *data, con (strlen(data->basedir) + 2 * data->dirdepth + keylen + 5 + sizeof(FILE_PREFIX))) return NULL; p = key; - n = sprintf(buf, "%s/", data->basedir); + n = sprintf(buf, "%s%c", data->basedir, DIR_DELIMITER); for (i = 0; i < data->dirdepth; i++) { buf[n++] = *p++; buf[n++] = DIR_DELIMITER; -- 2.50.1