]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
istream-seekable: Don't add an extra "." after the given prefix.
authorTimo Sirainen <tss@iki.fi>
Thu, 26 Feb 2009 21:42:00 +0000 (16:42 -0500)
committerTimo Sirainen <tss@iki.fi>
Thu, 26 Feb 2009 21:42:00 +0000 (16:42 -0500)
--HG--
branch : HEAD

src/lib/istream-seekable.c

index 53af7929a01e3b2b5a03eb7198ed37cc2bb93358..4d7398539ead8f663d9d0560eb26a0ebfe4b46d4 100644 (file)
@@ -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)),