[dovecot-cvs] dovecot/src/lib-dict dict-client.c,1.14,1.15

cras at dovecot.org cras at dovecot.org
Mon Jul 31 02:04:02 EEST 2006


Update of /var/lib/cvs/dovecot/src/lib-dict
In directory talvi:/tmp/cvs-serv27666/lib-dict

Modified Files:
	dict-client.c 
Log Message:
dict proxy: Dictionary iteration was broken.



Index: dict-client.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-dict/dict-client.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- dict-client.c	30 Jul 2006 19:27:26 -0000	1.14
+++ dict-client.c	30 Jul 2006 23:04:00 -0000	1.15
@@ -215,7 +215,10 @@
 	char *line;
 	int ret;
 
-	line = NULL;
+	line = i_stream_next_line(dict->input);
+	if (line != NULL)
+		return line;
+
 	while ((ret = i_stream_read(dict->input)) > 0) {
 		line = i_stream_next_line(dict->input);
 		if (line != NULL)



More information about the dovecot-cvs mailing list