From be404179b5f4184e8b92b2b9d97f9a0cc2eeb689 Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Tue, 5 Feb 2008 21:52:03 +0000 Subject: [PATCH] No spaces in temp file names --- libcitadel/lib/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() ); -- 2.30.2