dovecot-2.0: expire plugin: Fixed debug logging to use mail_debu...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Dec 7 22:53:20 EET 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/84e400f3fc1f
changeset: 10424:84e400f3fc1f
user: Timo Sirainen <tss at iki.fi>
date: Mon Dec 07 15:53:14 2009 -0500
description:
expire plugin: Fixed debug logging to use mail_debug setting.
diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/expire/expire-env.c | 2 +-
diffs (12 lines):
diff -r 7bfb37044928 -r 84e400f3fc1f src/plugins/expire/expire-env.c
--- a/src/plugins/expire/expire-env.c Mon Dec 07 15:51:12 2009 -0500
+++ b/src/plugins/expire/expire-env.c Mon Dec 07 15:53:14 2009 -0500
@@ -62,7 +62,7 @@ expire_env_parse(struct expire_env *env,
box.type = type;
box.expire_secs = strtoul(names[1], NULL, 10) * 3600 * 24;
- if (getenv("DEBUG") != NULL) {
+ if (namespaces->user->mail_debug) {
i_info("expire: pattern=%s type=%s secs=%u",
box.pattern, type == EXPIRE_TYPE_EXPUNGE ?
"expunge" : "altmove", box.expire_secs);
More information about the dovecot-cvs
mailing list