changeset 7941:f33e8e801023 HEAD

Don't give a bogus error message if multiple socket listen blocks are used.
author Timo Sirainen <tss@iki.fi>
date Sat, 21 Jun 2008 16:11:26 +0300
parents 87214cbd824c
children 80b06754846b
files src/master/master-settings.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
@@ -1086,9 +1086,7 @@
 		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;