From: Timo Sirainen Date: Thu, 26 Feb 2009 21:42:00 +0000 (-0500) Subject: istream-seekable: Don't add an extra "." after the given prefix. X-Git-Tag: 1.2.beta2~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=64ae2f0ba5b94092f9edd439905c3272719c23c3;p=thirdparty%2Fdovecot%2Fcore.git istream-seekable: Don't add an extra "." after the given prefix. --HG-- branch : HEAD --- diff --git a/src/lib/istream-seekable.c b/src/lib/istream-seekable.c index 53af7929a0..4d7398539e 100644 --- a/src/lib/istream-seekable.c +++ b/src/lib/istream-seekable.c @@ -81,7 +81,7 @@ static int copy_to_temp_file(struct seekable_istream *sstream) /* create a temporary file */ for (;;) { random_fill_weak(randbuf, sizeof(randbuf)); - path = t_strconcat(sstream->temp_prefix, ".", + path = t_strconcat(sstream->temp_prefix, dec2str(time(NULL)), ".", dec2str(getpid()), ".", binary_to_hex(randbuf, sizeof(randbuf)),