dovecot-1.1: expire-tool --test: Don't write LFs after timestamps.

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 16 21:41:17 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/34eb35a71b1d
changeset: 8311:34eb35a71b1d
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 16 14:41:02 2009 -0400
description:
expire-tool --test: Don't write LFs after timestamps.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/plugins/expire/expire-tool.c |    4 ++--

diffs (15 lines):

diff -r 32d649173bef -r 34eb35a71b1d src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c	Tue Jun 16 13:39:40 2009 -0400
+++ b/src/plugins/expire/expire-tool.c	Tue Jun 16 14:41:02 2009 -0400
@@ -319,9 +319,9 @@ static void expire_run(bool testrun)
 			else T_BEGIN {
 				i_info("%s: timestamp %s (%s) -> %s (%s)",
 				       userp, value,
-				       t_strdup(ctime(&expire_time)),
+				       t_strcut(ctime(&expire_time), '\n'),
 				       new_value,
-				       t_strdup(ctime(&oldest)));
+				       t_strcut(ctime(&oldest), '\n'));
 			} T_END;
 		}
 	}


More information about the dovecot-cvs mailing list