aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1998-03-17 18:10:43 +0000
committerEric S. Raymond <esr@thyrsus.com>1998-03-17 18:10:43 +0000
commitabe5829f32554045a77aa501b6ef60f2d1e07dc3 (patch)
tree261ea3bd755ef83754aa1d3acaf14be1e888d576 /imap.c
parent93aa31ffc1624a9bc6a985a4c5679bac2ceb5e9a (diff)
downloadfetchmail-abe5829f32554045a77aa501b6ef60f2d1e07dc3.tar.gz
fetchmail-abe5829f32554045a77aa501b6ef60f2d1e07dc3.tar.bz2
fetchmail-abe5829f32554045a77aa501b6ef60f2d1e07dc3.zip
Get copmpatible with Cyrus again.
svn path=/trunk/; revision=1706
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/imap.c b/imap.c
index b1f27e1c..69920480 100644
--- a/imap.c
+++ b/imap.c
@@ -676,11 +676,13 @@ int imap_getauth(int sock, struct query *ctl, char *greeting)
}
#endif /* KERBEROS_V4 */
+#ifdef __UNUSED__ /* The Cyrus IMAP4rev1 server chokes on this */
/* 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;
};
+#endif /* __UNUSED__ */
/* try to get authorized in the ordinary (AUTH=LOGIN) way */
{