aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-09-25 17:32:26 +0200
committerMatthias Andree <matthias.andree@gmx.de>2010-09-25 17:37:23 +0200
commit60416c3179c2dc8ccf8768234195bdfed54d772d (patch)
tree02a6fa162dd369698f7a3e8f38f89d01f84c3ee2 /imap.c
parent11a63571bc2ac5790d6e349d742d87b48a781e41 (diff)
downloadfetchmail-60416c3179c2dc8ccf8768234195bdfed54d772d.tar.gz
fetchmail-60416c3179c2dc8ccf8768234195bdfed54d772d.tar.bz2
fetchmail-60416c3179c2dc8ccf8768234195bdfed54d772d.zip
Remove some unneeded SASL cancellations.
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c7
1 files changed, 0 insertions, 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;
}