From: Art Cancro Date: Tue, 5 Feb 2008 21:52:03 +0000 (+0000) Subject: No spaces in temp file names X-Git-Tag: v7.86~2519 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=be404179b5f4184e8b92b2b9d97f9a0cc2eeb689 No spaces in temp file names --- diff --git a/libcitadel/lib/tools.c b/libcitadel/lib/tools.c index 606449da1..17981796e 100644 --- a/libcitadel/lib/tools.c +++ b/libcitadel/lib/tools.c @@ -820,7 +820,7 @@ void CtdlMakeTempFileName(char *name, int len) { int i = 0; while (i++, i < 100) { - snprintf(name, len, "/tmp/ctdl.%4lx.%04x", + snprintf(name, len, "/tmp/ctdl.%04lx.%04x", (long)getpid(), rand() );