aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-11 19:33:35 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-11 19:33:35 +0000
commite83eb833d4c427f66038ac36d59b87435d157f57 (patch)
treef08a64a76489e9691bb3f443309d320f3b2b7d0a /imap.c
parent2d69b9b093b7aaf9b2d2b97317fc54d0bd6813b7 (diff)
downloadfetchmail-e83eb833d4c427f66038ac36d59b87435d157f57.tar.gz
fetchmail-e83eb833d4c427f66038ac36d59b87435d157f57.tar.bz2
fetchmail-e83eb833d4c427f66038ac36d59b87435d157f57.zip
We can specify the authentication command now.
svn path=/trunk/; revision=3062
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, "*");