aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/imap.c b/imap.c
index 8163ddaa..90c3f92c 100644
--- a/imap.c
+++ b/imap.c
@@ -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