aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-02-26 20:18:08 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-02-26 20:18:08 +0000
commitfc659a867896396b1c338ae890b10cdeea13e703 (patch)
tree14819a3c51f28acd6618ebc050d190bc5d1aea4d /imap.c
parentd7a5bba72e78ef57a73e28cfb51e2b443004b5ec (diff)
downloadfetchmail-fc659a867896396b1c338ae890b10cdeea13e703.tar.gz
fetchmail-fc659a867896396b1c338ae890b10cdeea13e703.tar.bz2
fetchmail-fc659a867896396b1c338ae890b10cdeea13e703.zip
Don't assume IMAP4rev0 servers will advertise AUTH=LOGIN.
svn path=/trunk/; revision=1677
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 0924a822..ef4b9fc5 100644
--- a/imap.c
+++ b/imap.c
@@ -648,7 +648,7 @@ int imap_getauth(int sock, struct query *ctl, char *greeting)
}
#endif /* KERBEROS_V4 */
- if ((imap_version >= IMAP4) && (!strstr(capabilities, "AUTH=LOGIN"))) {
+ if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "AUTH=LOGIN"))) {
error(0,-1, "Required LOGIN capability not supported by server");
return PS_AUTHFAIL;
};