diff src/lib-dict/dict-file.c @ 8432:8f083c8482e1 HEAD

Iteration was broken in dict-file.
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Nov 2008 19:19:26 +0200
parents 4a608f96609b
children f9166a09423a
line wrap: on
line diff
--- 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 @@
 	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;