aboutsummaryrefslogtreecommitdiffstats
path: root/imap.c
diff options
context:
space:
mode:
Diffstat (limited to 'imap.c')
-rw-r--r--imap.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/imap.c b/imap.c
index cd7e4bdf..d4d23401 100644
--- a/imap.c
+++ b/imap.c
@@ -90,12 +90,11 @@ char *buf;
queryctl->remotename, queryctl->password));
}
-static imap_getrange(socket, queryctl, countp, firstp)
+static imap_getrange(socket, queryctl, countp)
/* get range of messages to be fetched */
int socket;
struct hostrec *queryctl;
int *countp;
-int *firstp;
{
int ok;
@@ -107,7 +106,6 @@ int *firstp;
return(ok);
*countp = count;
- *firstp = 1;
return(0);
}
@@ -173,7 +171,7 @@ int number;
return(gen_transact(socket, "STORE %d +FLAGS (\\Deleted)", number));
}
-static struct method imap =
+const static struct method imap =
{
"IMAP", /* Internet Message Access Protocol */
143, /* standard IMAP2bis/IMAP4 port */