diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1998-03-02 15:09:35 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1998-03-02 15:09:35 +0000 |
commit | c59ed64b4fb85c56e7afb1a296d6ae792bfc1a6b (patch) | |
tree | e6fa8b88ddb56776ccd6897cfde1c3607eb35301 /imap.c | |
parent | 6468431048a669d99c003b940474ec60a833afe1 (diff) | |
download | fetchmail-c59ed64b4fb85c56e7afb1a296d6ae792bfc1a6b.tar.gz fetchmail-c59ed64b4fb85c56e7afb1a296d6ae792bfc1a6b.tar.bz2 fetchmail-c59ed64b4fb85c56e7afb1a296d6ae792bfc1a6b.zip |
Relax the LOGIN capability test.
svn path=/trunk/; revision=1679
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -648,7 +648,8 @@ int imap_getauth(int sock, struct query *ctl, char *greeting) } #endif /* KERBEROS_V4 */ - if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "AUTH=LOGIN"))) { + /* this handles either AUTH=LOGIN or AUTH-LOGIN */ + if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "LOGIN"))) { error(0,-1, "Required LOGIN capability not supported by server"); return PS_AUTHFAIL; }; |