[dovecot-cvs] dovecot/src/pop3 main.c,1.30,1.31

cras at dovecot.org cras at dovecot.org
Sun Oct 16 23:24:03 EEST 2005


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

Modified Files:
	main.c 
Log Message:
Complain about missing pop3_uidl_format also if it's empty



Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- main.c	16 Oct 2005 14:59:12 -0000	1.30
+++ main.c	16 Oct 2005 20:24:01 -0000	1.31
@@ -185,7 +185,7 @@
 	reuse_xuidl = getenv("POP3_REUSE_XUIDL") != NULL;
 
 	uidl_format = getenv("POP3_UIDL_FORMAT");
-	if (uidl_format == NULL)
+	if (uidl_format == NULL || *uidl_format == '\0')
 		i_fatal("Set pop3_uidl_format setting in config file");
 	logout_format = getenv("POP3_LOGOUT_FORMAT");
 	if (logout_format == NULL)



More information about the dovecot-cvs mailing list