changeset 3664:9bdf25784ac2 HEAD

Complain about missing pop3_uidl_format also if it's empty
author Timo Sirainen <tss@iki.fi>
date Sun, 16 Oct 2005 23:24:01 +0300
parents 6d485bf73429
children 1f4b4387595b
files src/pop3/main.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/pop3/main.c	Sun Oct 16 19:22:15 2005 +0300
+++ b/src/pop3/main.c	Sun Oct 16 23:24:01 2005 +0300
@@ -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)