dovecot-1.2: Don't give a bogus error message if multiple socket...
dovecot at dovecot.org
dovecot at dovecot.org
Sat Jun 21 16:40:54 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/f33e8e801023
changeset: 7941:f33e8e801023
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 87214cbd824c -r f33e8e801023 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
@@ -1086,9 +1086,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