[dovecot-cvs] dovecot/src/master master-settings.c,1.41,1.42
cras at procontrol.fi
cras at procontrol.fi
Mon May 10 04:20:51 EEST 2004
Update of /home/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv31205
Modified Files:
master-settings.c
Log Message:
show error if config is missing auth section
Index: master-settings.c
===================================================================
RCS file: /home/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -d -r1.41 -r1.42
--- master-settings.c 2 May 2004 20:33:52 -0000 1.41
+++ master-settings.c 10 May 2004 01:20:49 -0000 1.42
@@ -850,7 +850,13 @@
else
prev->next = server->next;
} else {
- auth = server->auths;
+ auth = server->auths;
+ if (auth == NULL) {
+ i_error("Missing auth section for server %s",
+ server->name);
+ return FALSE;
+ }
+
for (; auth != NULL; auth = auth->next) {
if (!auth_settings_verify(auth))
return FALSE;
More information about the dovecot-cvs
mailing list