]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Don't give a bogus error message if multiple socket listen blocks are used.
authorTimo Sirainen <tss@iki.fi>
Sat, 21 Jun 2008 13:11:26 +0000 (16:11 +0300)
committerTimo Sirainen <tss@iki.fi>
Sat, 21 Jun 2008 13:11:26 +0000 (16:11 +0300)
--HG--
branch : HEAD

src/master/master-settings.c

index fad8af4e2e92248ec47c328088668a5af9290ffa..cca4fa55b794577c38ccab9f05399b1dcce6584e 100644 (file)
@@ -1086,9 +1086,7 @@ parse_new_auth_socket(struct auth_settings *auth, const char *name,
                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;