dovecot-2.2: connection_list_deinit(): Set disconnect_reason cor...

dovecot at dovecot.org dovecot at dovecot.org
Tue Mar 5 14:32:14 EET 2013


details:   http://hg.dovecot.org/dovecot-2.2/rev/310c5ce38ef3
changeset: 15997:310c5ce38ef3
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Mar 05 14:31:29 2013 +0200
description:
connection_list_deinit(): Set disconnect_reason correctly to CONNECTION_DISCONNECT_DEINIT

diffstat:

 src/lib/connection.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r 3dcdbab51347 -r 310c5ce38ef3 src/lib/connection.c
--- a/src/lib/connection.c	Tue Mar 05 12:20:41 2013 +0200
+++ b/src/lib/connection.c	Tue Mar 05 14:31:29 2013 +0200
@@ -354,6 +354,7 @@
 
 	while (list->connections != NULL) {
 		conn = list->connections;
+		conn->disconnect_reason = CONNECTION_DISCONNECT_DEINIT;
 		list->v.destroy(conn);
 		i_assert(conn != list->connections);
 	}


More information about the dovecot-cvs mailing list