aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-09-28 20:43:39 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-09-28 20:43:39 +0000
commit27a0815dbc15b1e837b115ade6f5e035152b60f9 (patch)
tree130e7244fc425f516ce11a34adc6c1a4fe06a861 /pop2.c
parent83a3ffda69ae3d81dc97ce93467dec75db32c5cd (diff)
downloadfetchmail-27a0815dbc15b1e837b115ade6f5e035152b60f9.tar.gz
fetchmail-27a0815dbc15b1e837b115ade6f5e035152b60f9.tar.bz2
fetchmail-27a0815dbc15b1e837b115ade6f5e035152b60f9.zip
The great options massacre.
svn path=/trunk/; revision=178
Diffstat (limited to 'pop2.c')
-rw-r--r--pop2.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/pop2.c b/pop2.c
index dfb78772..0025db41 100644
--- a/pop2.c
+++ b/pop2.c
@@ -99,11 +99,10 @@ int *firstp;
return(0);
}
-static int pop2_fetch(socket, number, limit, lenp)
+static int pop2_fetch(socket, number, lenp)
/* request nth message */
int socket;
int number;
-int limit;
int *lenp;
{
int ok;
@@ -149,11 +148,7 @@ int doPOP2 (queryctl)
struct hostrec *queryctl;
{
/* check for unsupported options */
- if (linelimit) {
- fprintf(stderr,"Option --limit is not supported with POP2\n");
- return(PS_SYNTAX);
- }
- else if (queryctl->flush) {
+ if (queryctl->flush) {
fprintf(stderr,"Option --flush is not supported with POP2\n");
return(PS_SYNTAX);
}