[dovecot-cvs] dovecot/src/pop3 main.c,1.34,1.35
cras at dovecot.org
cras at dovecot.org
Tue Dec 6 21:23:12 EET 2005
Update of /var/lib/cvs/dovecot/src/pop3
In directory talvi:/tmp/cvs-serv9343
Modified Files:
main.c
Log Message:
Don't allow pop3_uidl_format without at least one valid %var in it.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3/main.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- main.c 2 Dec 2005 12:53:31 -0000 1.34
+++ main.c 6 Dec 2005 19:23:10 -0000 1.35
@@ -194,6 +194,9 @@
if (logout_format == NULL)
logout_format = "top=%t/%T, retr=%r/%R, del=%d/%m, size=%s";
uidl_keymask = parse_uidl_keymask(uidl_format);
+ if (uidl_keymask == 0)
+ i_fatal("pop3_uidl_format setting doesn't contain any "
+ "%% variables.");
flags = 0;
if (getenv("FULL_FILESYSTEM_ACCESS") != NULL)
More information about the dovecot-cvs
mailing list