[dovecot-cvs] dovecot/src/master main.c,1.80.2.2,1.80.2.3
cras at dovecot.org
cras at dovecot.org
Fri Jun 16 13:11:10 EEST 2006
Update of /var/lib/cvs/dovecot/src/master
In directory talvi:/tmp/cvs-serv30358
Modified Files:
Tag: branch_1_0
main.c
Log Message:
We broke if ssl_listen wasn't explicitly set in config file. Patch by
Jonathan C. Broome
Index: main.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/master/main.c,v
retrieving revision 1.80.2.2
retrieving revision 1.80.2.3
diff -u -d -r1.80.2.2 -r1.80.2.3
--- main.c 11 Jun 2006 17:44:25 -0000 1.80.2.2
+++ main.c 16 Jun 2006 10:11:07 -0000 1.80.2.3
@@ -355,7 +355,9 @@
resolve_ip(set->listen, &set->listen_ip, &set->listen_port);
resolve_ip(set->ssl_listen, &set->ssl_listen_ip, &set->ssl_listen_port);
- if (set->ssl_listen_ip.family == 0 && set->ssl_listen == NULL)
+ /* if ssl_listen wasn't explicitly set in the config file,
+ use the non-ssl IP settings for the ssl listener, too. */
+ if (set->ssl_listen_ip.family == 0 && *set->ssl_listen == '\0')
set->ssl_listen_ip = set->listen_ip;
/* register wanted protocols */
More information about the dovecot-cvs
mailing list