[dovecot-cvs] dovecot/src/master master-settings.c,1.110,1.111

cras at dovecot.org cras at dovecot.org
Sat Feb 11 22:38:22 EET 2006


Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv4579

Modified Files:
	master-settings.c 
Log Message:
When using --exec-mail, don't care if protocols line is empty.



Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -d -r1.110 -r1.111
--- master-settings.c	2 Feb 2006 21:29:15 -0000	1.110
+++ master-settings.c	11 Feb 2006 20:38:20 -0000	1.111
@@ -1170,8 +1170,8 @@
 
 	prev = NULL;
 	for (server = ctx.root; server != NULL; server = server->next) {
-		if (server->imap->protocols == NULL ||
-		    server->pop3->protocols == NULL) {
+		if ((server->imap->protocols == NULL ||
+		     server->pop3->protocols == NULL) && !nochecks) {
 			i_error("No protocols given in configuration file");
 			return FALSE;
 		}



More information about the dovecot-cvs mailing list