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

dovecot at dovecot.org dovecot at dovecot.org
Sat Jun 21 16:12:04 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/8d9046082230
changeset: 7706:8d9046082230
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 21 16:11:26 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 5a1cc688483b -r 8d9046082230 src/master/master-settings.c
--- a/src/master/master-settings.c	Sat Jun 21 15:53:43 2008 +0300
+++ b/src/master/master-settings.c	Sat Jun 21 16:11:26 2008 +0300
@@ -1083,9 +1083,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