diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-01 09:31:00 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-01 09:31:00 +0000 |
commit | 05c9daa83bea5177bdaba5630806e91781b0f5b2 (patch) | |
tree | 4d708ec2176b21252ccc5a2027b1d33c187a4390 /imap.c | |
parent | a9f0b0fd7bf5d290a7d93c94c04c1dc78c82c44e (diff) | |
download | fetchmail-05c9daa83bea5177bdaba5630806e91781b0f5b2.tar.gz fetchmail-05c9daa83bea5177bdaba5630806e91781b0f5b2.tar.bz2 fetchmail-05c9daa83bea5177bdaba5630806e91781b0f5b2.zip |
Simplify the driver main loop.
svn path=/trunk/; revision=189
Diffstat (limited to 'imap.c')
-rw-r--r-- | imap.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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 */ |