dovecot-2.0: expire-tool --test: Fixed timestamp logging.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 16 06:14:46 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/d4ad8009a18b
changeset: 9482:d4ad8009a18b
user: Timo Sirainen <tss at iki.fi>
date: Mon Jun 15 23:14:25 2009 -0400
description:
expire-tool --test: Fixed timestamp logging.
diffstat:
1 file changed, 6 insertions(+), 4 deletions(-)
src/plugins/expire/expire-tool.c | 10 ++++++----
diffs (21 lines):
diff -r 25ad27f699f6 -r d4ad8009a18b src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c Mon Jun 15 21:56:22 2009 -0400
+++ b/src/plugins/expire/expire-tool.c Mon Jun 15 23:14:25 2009 -0400
@@ -268,11 +268,13 @@ static void expire_run(struct master_ser
/* no change */
} else if (!testrun)
dict_set(trans, key, new_value);
- else {
+ else T_BEGIN {
i_info("%s: timestamp %s (%s) -> %s (%s)",
- userp, value, ctime(&expire_time),
- new_value, ctime(&oldest));
- }
+ userp, value,
+ t_strdup(ctime(&expire_time)),
+ new_value,
+ t_strdup(ctime(&oldest)));
+ } T_END;
}
}
if (testrun && userp == NULL)
More information about the dovecot-cvs
mailing list