dovecot-1.1: Forgot to change expire time to be calculated as ho...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 4 06:36:28 EET 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/c150eceb1f6e
changeset: 7336:c150eceb1f6e
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 04 06:36:07 2008 +0200
description:
Forgot to change expire time to be calculated as hours after debugging.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/plugins/expire/expire-env.c |    2 +-

diffs (12 lines):

diff -r 969656b58e7f -r c150eceb1f6e src/plugins/expire/expire-env.c
--- a/src/plugins/expire/expire-env.c	Tue Mar 04 06:26:24 2008 +0200
+++ b/src/plugins/expire/expire-env.c	Tue Mar 04 06:36:07 2008 +0200
@@ -49,7 +49,7 @@ static void expire_env_parse(struct expi
 		/* FIXME: hardcoded separator isn't very good */
 		box.glob = imap_match_init(env->pool, box.pattern, TRUE, '/');
 		box.type = type;
-		box.expire_secs = strtoul(names[1], NULL, 10)/* * 3600 * 24*/ * 10;//FIXME
+		box.expire_secs = strtoul(names[1], NULL, 10) * 3600 * 24;
 
 		array_append(&env->expire_boxes, &box, 1);
 	}


More information about the dovecot-cvs mailing list