From 60416c3179c2dc8ccf8768234195bdfed54d772d Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 25 Sep 2010 17:32:26 +0200 Subject: [PATCH] Remove some unneeded SASL cancellations. --- imap.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/imap.c b/imap.c index 4738361d..d6415866 100644 --- a/imap.c +++ b/imap.c @@ -573,7 +573,6 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) if ((ok = do_gssauth(sock, "AUTHENTICATE", "imap", ctl->server.truename, ctl->remotename))) { - /* SASL cancellation of authentication */ if (ctl->server.authenticate != A_ANY) return ok; } else { @@ -610,8 +609,6 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) { if ((ok = do_cram_md5 (sock, "AUTHENTICATE", ctl, NULL))) { - /* SASL cancellation of authentication */ - gen_send(sock, "*"); if(ctl->server.authenticate != A_ANY) return ok; } @@ -647,8 +644,6 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) && strstr (capabilities, "AUTH=NTLM")) { if ((ok = do_imap_ntlm(sock, ctl))) { - /* SASL cancellation of authentication */ - gen_send(sock, "*"); if(ctl->server.authenticate != A_ANY) return ok; } @@ -702,8 +697,6 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) free(remotename); if (ok) { - /* SASL cancellation of authentication */ - gen_send(sock, "*"); if(ctl->server.authenticate != A_ANY) return ok; } -- 2.43.2