dovecot-1.1: login processes: Don't assert-crash when aborting a...

dovecot at dovecot.org dovecot at dovecot.org
Sat Oct 18 20:48:17 EEST 2008


details:   http://hg.dovecot.org/dovecot-1.1/rev/a0693aec0245
changeset: 7949:a0693aec0245
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Oct 18 20:47:20 2008 +0300
description:
login processes: Don't assert-crash when aborting an authentication (e.g. client disconnection).

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/login-common/master.c |    2 +-

diffs (12 lines):

diff -r 262c52055f2a -r a0693aec0245 src/login-common/master.c
--- a/src/login-common/master.c	Sat Oct 18 20:26:38 2008 +0300
+++ b/src/login-common/master.c	Sat Oct 18 20:47:20 2008 +0300
@@ -94,7 +94,7 @@ void master_request_abort(struct client 
 	hash_update(master_requests, POINTER_CAST(client->master_tag),
 		    &destroyed_client);
 
-	client_call_master_callback(client, FALSE);
+	client_call_master_callback(client, MASTER_LOGIN_STATUS_INTERNAL_ERROR);
 }
 
 void master_notify_state_change(enum master_login_state state)


More information about the dovecot-cvs mailing list