[dovecot-cvs] dovecot/src/pop3 commands.c,1.56,1.57

tss at dovecot.org tss at dovecot.org
Wed Feb 14 18:26:34 UTC 2007


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

Modified Files:
	commands.c 
Log Message:
If UIDL command can't get the UID, die instead of not returning anything and
still replying "OK".



Index: commands.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/commands.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- commands.c	26 Jan 2007 13:58:56 -0000	1.56
+++ commands.c	14 Feb 2007 18:26:32 -0000	1.57
@@ -554,9 +554,7 @@
 							MAIL_FETCH_HEADER_MD5);
 			if (tab[2].value == NULL) {
 				/* broken */
-				i_error("UIDL: Header MD5 not found");
-				t_pop();
-				break;
+				i_fatal("UIDL: Header MD5 not found");
 			}
 		}
 		if ((uidl_keymask & UIDL_FILE_NAME) != 0) {
@@ -565,9 +563,7 @@
 						 MAIL_FETCH_UIDL_FILE_NAME);
 			if (tab[3].value == NULL) {
 				/* broken */
-				i_error("UIDL: File name not found");
-				t_pop();
-				break;
+				i_fatal("UIDL: File name not found");
 			}
 		}
 



More information about the dovecot-cvs mailing list