changeset 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 118e07fdfe11
children dfe39e9a9e78
files src/lib-dict/dict-file.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
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;