Mercurial > dovecot > core-2.2
changeset 4003:de08c05c75cb HEAD
When using --exec-mail, don't care if protocols line is empty.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sat, 11 Feb 2006 22:38:20 +0200 |
parents | 5ca67bbe93fd |
children | 10d1c3301b87 |
files | src/master/master-settings.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/master-settings.c Fri Feb 10 17:53:32 2006 +0200 +++ b/src/master/master-settings.c Sat Feb 11 22:38:20 2006 +0200 @@ -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; }