[dovecot-cvs] dovecot/src/pop3 commands.c,1.53.2.3,1.53.2.4

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


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

Modified Files:
      Tag: branch_1_0
	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.53.2.3
retrieving revision 1.53.2.4
diff -u -d -r1.53.2.3 -r1.53.2.4
--- commands.c	26 Jan 2007 13:58:40 -0000	1.53.2.3
+++ commands.c	14 Feb 2007 18:26:29 -0000	1.53.2.4
@@ -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