diff options
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 12 |
1 files changed, 2 insertions, 10 deletions
@@ -6,6 +6,8 @@ */ #include "config.h" +#include "fetchmail.h" + #include <stdio.h> #include <string.h> #include <strings.h> @@ -15,7 +17,6 @@ #include <limits.h> #include <errno.h> #endif -#include "fetchmail.h" #include "socket.h" #include "i18n.h" @@ -627,15 +628,6 @@ static int imap_getauth(int sock, struct query *ctl, char *greeting) } #endif /* NTLM_ENABLE */ -#ifdef __UNUSED__ /* The Cyrus IMAP4rev1 server chokes on this */ - /* this handles either AUTH=LOGIN or AUTH-LOGIN */ - if ((imap_version >= IMAP4rev1) && (!strstr(capabilities, "LOGIN"))) - { - report(stderr, - GT_("Required LOGIN capability not supported by server\n")); - } -#endif /* __UNUSED__ */ - /* * We're stuck with sending the password en clair. * The reason for this odd-looking logic is that some |