dovecot-2.1: login: Added assert.

dovecot at dovecot.org dovecot at dovecot.org
Fri Nov 18 16:22:54 EET 2011


details:   http://hg.dovecot.org/dovecot-2.1/rev/dafa6dc27398
changeset: 13724:dafa6dc27398
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Nov 18 16:22:44 2011 +0200
description:
login: Added assert.

diffstat:

 src/login-common/main.c |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diffs (12 lines):

diff -r dd66ea0e7d00 -r dafa6dc27398 src/login-common/main.c
--- a/src/login-common/main.c	Fri Nov 18 16:16:34 2011 +0200
+++ b/src/login-common/main.c	Fri Nov 18 16:22:44 2011 +0200
@@ -71,6 +71,8 @@
 
 static void auth_client_idle_timeout(struct auth_client *auth_client)
 {
+	i_assert(clients == NULL);
+
 	auth_client_disconnect(auth_client);
 	timeout_remove(&auth_client_to);
 }


More information about the dovecot-cvs mailing list