dovecot-2.2: rawlog: Removed double '.' chars from log filenames

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 2 19:15:32 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/63338685c25e
changeset: 18283:63338685c25e
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 02 21:14:55 2015 +0200
description:
rawlog: Removed double '.' chars from log filenames

diffstat:

 src/util/rawlog.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 62e4062302de -r 63338685c25e src/util/rawlog.c
--- a/src/util/rawlog.c	Mon Mar 02 15:07:20 2015 +0200
+++ b/src/util/rawlog.c	Mon Mar 02 21:14:55 2015 +0200
@@ -226,7 +226,7 @@
 	if (ip_addr != NULL &&
 	    (proxy->flags & RAWLOG_FLAG_LOG_IP_IN_FILENAME) != 0)
 		str_printfa(path_prefix, "%s-", ip_addr);
-	str_printfa(path_prefix, "%s-%s.", timestamp, dec2str(getpid()));
+	str_printfa(path_prefix, "%s-%s", timestamp, dec2str(getpid()));
 
 	if ((proxy->flags & RAWLOG_FLAG_LOG_INPUT) != 0) {
 		fname = t_strdup_printf("%s.in", str_c(path_prefix));


More information about the dovecot-cvs mailing list