dovecot-1.2: expire-tool: Iterate dict recursively - we want eve...

dovecot at dovecot.org dovecot at dovecot.org
Thu Jun 12 01:35:23 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/3fa91ced11e8
changeset: 7820:3fa91ced11e8
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Jun 11 23:48:57 2008 +0300
description:
expire-tool: Iterate dict recursively - we want everything.

diffstat:

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

diffs (11 lines):

diff -r 59ec9752c3dd -r 3fa91ced11e8 src/plugins/expire/expire-tool.c
--- a/src/plugins/expire/expire-tool.c	Wed Jun 11 23:48:34 2008 +0300
+++ b/src/plugins/expire/expire-tool.c	Wed Jun 11 23:48:57 2008 +0300
@@ -209,6 +209,7 @@ static void expire_run(bool testrun)
 
 	trans = dict_transaction_begin(dict);
 	iter = dict_iterate_init(dict, DICT_PATH_SHARED,
+				 DICT_ITERATE_FLAG_RECURSE |
 				 DICT_ITERATE_FLAG_SORT_BY_VALUE);
 
 	/* We'll get the oldest values (timestamps) first */


More information about the dovecot-cvs mailing list