[dovecot-cvs] dovecot/src/pop3 commands.c,1.27,1.28

cras at dovecot.org cras at dovecot.org
Sun Oct 3 20:03:30 EEST 2004


Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv22119

Modified Files:
	commands.c 
Log Message:
"UIDL <message>" was broken.



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- commands.c	12 Sep 2004 14:26:58 -0000	1.27
+++ commands.c	3 Oct 2004 17:03:27 -0000	1.28
@@ -524,6 +524,7 @@
 	if (message == 0)
 		ctx->search_arg.type = SEARCH_ALL;
 	else {
+		ctx->message = message;
 		ctx->seqset.seq1 = ctx->seqset.seq2 = message;
 		ctx->search_arg.type = SEARCH_SEQSET;
 		ctx->search_arg.value.seqset = &ctx->seqset;
@@ -554,7 +555,7 @@
 			return FALSE;
 
 		ctx = cmd_uidl_init(client, msgnum+1);
-		if (list_uids_iter(client, ctx))
+		if (!list_uids_iter(client, ctx))
 			client_send_line(client, "-ERR Message not found.");
 	}
 



More information about the dovecot-cvs mailing list