aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap.c b/imap.c
index 41e07a76..cf6a5ea5 100644
--- a/imap.c
+++ b/imap.c
@@ -849,7 +849,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting)
report (stdout, _("CRAM-MD5 authentication is supported\n"));
if (ctl->server.protocol != P_IMAP_LOGIN)
{
- if ((ok = do_cram_md5 (sock, ctl)))
+ if ((ok = do_cram_md5 (sock, "AUTHENTICATE", ctl)))
/* SASL cancellation of authentication */
gen_send(sock, "*");