[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dovecot-cvs
Subject:    [dovecot-cvs] dovecot/src/lib-dict dict-client.c,1.14,1.15
From:       cras () dovecot ! org (cras at dovecot ! org)
Date:       2006-07-30 23:04:02
Message-ID: 20060730230402.B0539C004552 () talvi ! dovecot ! org
[Download RAW message or body]

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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic