summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-01-10 07:28:27 +0000
committerSascha Schumann <sas@php.net>2002-01-10 07:28:27 +0000
commitbbda8d967859261e952fd1ec2025b4df18d04680 (patch)
tree88fb93a9fd6659825a5d3a2b63077346adb0e685
parenta1dbb4ab162d39a0e14ac8f2d983964ff1c47a17 (diff)
downloadphp-git-bbda8d967859261e952fd1ec2025b4df18d04680.tar.gz
Ws fix
-rw-r--r--ext/session/mod_mm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c
index 0cd684cf61..d353bbbcd1 100644
--- a/ext/session/mod_mm.c
+++ b/ext/session/mod_mm.c
@@ -247,16 +247,16 @@ static void ps_mm_destroy(ps_mm *data)
PHP_MINIT_FUNCTION(ps_mm)
{
- char *ps_mm_path = calloc(strlen(PS(save_path))+1+strlen(PS_MM_FILE)+1, 1); /* Directory + '/' + File + \0 */
+ char *ps_mm_path = calloc(strlen(PS(save_path))+1+strlen(PS_MM_FILE)+1, 1); /* Directory + '/' + File + \0 */
ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1);
- strcpy(ps_mm_path, PS(save_path));
+ strcpy(ps_mm_path, PS(save_path));
- if((strlen(ps_mm_path) > 0) && (ps_mm_path[strlen(ps_mm_path)-1] != '/'))
- strcat(ps_mm_path, "/"); /* Fixme Windows */
+ if((strlen(ps_mm_path) > 0) && (ps_mm_path[strlen(ps_mm_path)-1] != '/'))
+ strcat(ps_mm_path, "/"); /* Fixme Windows */
- strcat(ps_mm_path, PS_MM_FILE);
+ strcat(ps_mm_path, PS_MM_FILE);
if (ps_mm_initialize(ps_mm_instance, ps_mm_path) != SUCCESS) {
ps_mm_instance = NULL;