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

dovecot at dovecot.org dovecot at dovecot.org
Wed Jun 11 23:49:05 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/133874d84577
changeset: 7630:133874d84577
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 807a1ef10eea -r 133874d84577 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
@@ -208,6 +208,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