dovecot-1.0: Don't give a bogus error message if multiple socket...

dovecot at dovecot.org dovecot at dovecot.org
Sat Jun 21 16:11:54 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.0/rev/bddadd631a8c
changeset: 5558:bddadd631a8c
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 21 16:11:46 2008 +0300
description:
Don't give a bogus error message if multiple socket listen blocks are used.

diffstat:

1 file changed, 1 insertion(+), 3 deletions(-)
src/master/master-settings.c |    4 +---

diffs (14 lines):

diff -r 18c47a9277d5 -r bddadd631a8c src/master/master-settings.c
--- a/src/master/master-settings.c	Fri Jun 20 11:07:25 2008 +0300
+++ b/src/master/master-settings.c	Sat Jun 21 16:11:46 2008 +0300
@@ -1023,9 +1023,7 @@ parse_new_auth_socket(struct auth_settin
 		return NULL;
 	}
 
-	if ((auth->sockets != NULL && strcmp(name, "connect") == 0) ||
-	    (auth->sockets != NULL &&
-	     strcmp(auth->sockets->type, "listen") == 0)) {
+	if (auth->sockets != NULL && strcmp(name, "connect") == 0) {
 		*errormsg = "With connect auth socket no other sockets "
 			"can be used in same auth section";
 		return NULL;


More information about the dovecot-cvs mailing list