dovecot-2.0: login: Removed dead code.

dovecot at dovecot.org dovecot at dovecot.org
Sat Jun 12 02:24:39 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/e3881b95a93d
changeset: 11527:e3881b95a93d
user:      Timo Sirainen <tss at iki.fi>
date:      Sat Jun 12 00:24:35 2010 +0100
description:
login: Removed dead code.

diffstat:

 src/login-common/sasl-server.c |  11 +----------
 1 files changed, 1 insertions(+), 10 deletions(-)

diffs (28 lines):

diff -r 8f0eef1c6f17 -r e3881b95a93d src/login-common/sasl-server.c
--- a/src/login-common/sasl-server.c	Sat Jun 12 00:23:43 2010 +0100
+++ b/src/login-common/sasl-server.c	Sat Jun 12 00:24:35 2010 +0100
@@ -139,15 +139,6 @@
 			    master_auth_callback, client, &client->master_tag);
 }
 
-static void master_abort_request(struct anvil_request *anvil_request)
-{
-	const char *cookie;
-
-	cookie = binary_to_hex(anvil_request->cookie,
-			       sizeof(anvil_request->cookie));
-	auth_client_send_cancel(auth_client, anvil_request->auth_id);
-}
-
 static void anvil_lookup_callback(const char *reply, void *context)
 {
 	struct anvil_request *req = context;
@@ -164,7 +155,7 @@
 					 set->mail_max_userip_connections);
 		call_client_callback(client, SASL_SERVER_REPLY_MASTER_FAILED,
 				     errmsg, NULL);
-		master_abort_request(req);
+		auth_client_send_cancel(auth_client, req->auth_id);
 	}
 	i_free(req);
 }


More information about the dovecot-cvs mailing list