[dovecot-cvs] dovecot/src/master main.c, 1.80,
1.80.2.1 master-settings.c, 1.125.2.1, 1.125.2.2
cras at dovecot.org
cras at dovecot.org
Thu Jun 8 21:52:42 EEST 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv13766
Modified Files:
Tag: branch_1_0
main.c master-settings.c
Log Message:
If ssl_listen setting was empty in config file, startup failed with "Can't
resolve address" error.
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/main.c,v
retrieving revision 1.80
retrieving revision 1.80.2.1
diff -u -d -r1.80 -r1.80.2.1
--- main.c 3 May 2006 22:58:55 -0000 1.80
+++ main.c 8 Jun 2006 18:52:39 -0000 1.80.2.1
@@ -246,7 +246,7 @@
const char *p;
int ret, ips_count;
- if (name == NULL) {
+ if (*name == '\0') {
/* defaults to "*" or "[::]" */
ip->family = 0;
return;
Index: master-settings.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/master-settings.c,v
retrieving revision 1.125.2.1
retrieving revision 1.125.2.2
diff -u -d -r1.125.2.1 -r1.125.2.2
--- master-settings.c 12 May 2006 13:00:54 -0000 1.125.2.1
+++ master-settings.c 8 Jun 2006 18:52:39 -0000 1.125.2.2
@@ -268,7 +268,7 @@
/* general */
MEMBER(protocols) "imap imaps",
MEMBER(listen) "*",
- MEMBER(ssl_listen) NULL,
+ MEMBER(ssl_listen) "",
MEMBER(ssl_disable) FALSE,
MEMBER(ssl_ca_file) NULL,
More information about the dovecot-cvs
mailing list