aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c16
1 files changed, 3 insertions, 13 deletions
diff --git a/imap.c b/imap.c
index 87dfe199..5cc5e054 100644
--- a/imap.c
+++ b/imap.c
@@ -12,28 +12,17 @@
***********************************************************************/
#include <config.h>
-#include <varargs.h>
-
#include <stdio.h>
-#if defined(STDC_HEADERS)
-#include <string.h>
-#endif
-#if defined(HAVE_UNISTD_H)
-#include <unistd.h>
-#endif
-#include <errno.h>
-
#include "socket.h"
#include "fetchmail.h"
-static int count, first;
-
/*********************************************************************
Method declarations for IMAP
*********************************************************************/
+static int count, first;
static int exists, unseen, recent;
int imap_ok (argbuf,socket)
@@ -176,7 +165,7 @@ int number;
static struct method imap =
{
"IMAP", /* Internet Message Access Protocol */
- 143, /* standard IMAP3bis/IMAP4 port */
+ 143, /* standard IMAP2bis/IMAP4 port */
1, /* this is a tagged protocol */
0, /* no message delimiter */
imap_ok, /* parse command response */
@@ -196,3 +185,4 @@ struct hostrec *queryctl;
return(do_protocol(queryctl, &imap));
}
+