dovecot-1.1: expire-tool --test: Fixed timestamp logging.
dovecot at dovecot.org
dovecot at dovecot.org
Tue Jun 16 06:15:14 EEST 2009
details: http://hg.dovecot.org/dovecot-1.1/rev/2b557de3fb25
changeset: 8309:2b557de3fb25
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 f9c44dd6dc8b -r 2b557de3fb25 src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c Mon Jun 15 21:57:10 2009 -0400
+++ b/src/plugins/expire/expire-tool.c Mon Jun 15 23:14:25 2009 -0400
@@ -316,11 +316,13 @@ static void expire_run(bool testrun)
/* 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;
}
}
dict_iterate_deinit(iter);
More information about the dovecot-cvs
mailing list