aboutsummaryrefslogtreecommitdiffstats
path: root/pop2.c
diff options
context:
space:
mode:
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);
}