dovecot-2.2: lib-master: Assert-crashfix

dovecot at dovecot.org dovecot at dovecot.org
Tue Jul 31 02:45:39 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/4d518c1a366c
changeset: 14736:4d518c1a366c
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jul 31 02:45:23 2012 +0300
description:
lib-master: Assert-crashfix

diffstat:

 src/lib-master/master-service-ssl.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1e7c33ce9c16 -r 4d518c1a366c src/lib-master/master-service-ssl.c
--- a/src/lib-master/master-service-ssl.c	Mon Jul 30 19:49:43 2012 +0300
+++ b/src/lib-master/master-service-ssl.c	Tue Jul 31 02:45:23 2012 +0300
@@ -99,7 +99,7 @@
 
 	/* must be called after master_service_init_finish() so that if
 	   initialization fails we can close the SSL listeners */
-	i_assert(service->listeners != NULL);
+	i_assert(service->listeners != NULL || service->socket_count == 0);
 
 	set = master_service_ssl_settings_get(service);
 


More information about the dovecot-cvs mailing list