dovecot-1.2: istream-seekable: Don't add an extra "." after the ...
dovecot at dovecot.org
dovecot at dovecot.org
Thu Feb 26 23:43:59 EET 2009
details: http://hg.dovecot.org/dovecot-1.2/rev/3d11825abf66
changeset: 8785:3d11825abf66
user: Timo Sirainen <tss at iki.fi>
date: Thu Feb 26 16:42:00 2009 -0500
description:
istream-seekable: Don't add an extra "." after the given prefix.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/istream-seekable.c | 2 +-
diffs (12 lines):
diff -r 89e4d5da5ba7 -r 3d11825abf66 src/lib/istream-seekable.c
--- a/src/lib/istream-seekable.c Thu Feb 26 16:38:24 2009 -0500
+++ b/src/lib/istream-seekable.c Thu Feb 26 16:42:00 2009 -0500
@@ -81,7 +81,7 @@ static int copy_to_temp_file(struct seek
/* 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)),
More information about the dovecot-cvs
mailing list