dovecot-1.2: Iteration was broken in dict-file.

dovecot at dovecot.org dovecot at dovecot.org
Sun Nov 16 19:20:33 EET 2008


details:   http://hg.dovecot.org/dovecot-1.2/rev/8f083c8482e1
changeset: 8432:8f083c8482e1
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Nov 16 19:19:26 2008 +0200
description:
Iteration was broken in dict-file.

diffstat:

1 file changed, 1 insertion(+)
src/lib-dict/dict-file.c |    1 +

diffs (11 lines):

diff -r 118e07fdfe11 -r 8f083c8482e1 src/lib-dict/dict-file.c
--- a/src/lib-dict/dict-file.c	Sun Nov 16 19:18:59 2008 +0200
+++ b/src/lib-dict/dict-file.c	Sun Nov 16 19:19:26 2008 +0200
@@ -170,6 +170,7 @@ file_dict_iterate_init(struct dict *_dic
 	struct file_dict *dict = (struct file_dict *)_dict;
 
 	ctx = i_new(struct file_dict_iterate_context, 1);
+	ctx->ctx.dict = _dict;
 	ctx->path = i_strdup(path);
 	ctx->path_len = strlen(path);
 	ctx->flags = flags;


More information about the dovecot-cvs mailing list