aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 12:45:18 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 12:45:18 +0000
commiteb0c61e4812ab19973df9b588f06c9d50a2d038c (patch)
treef15c47e03f5e00823c2b1faa19d03ef2b2706e06 /options.c
parent3e22607c5ba702824afd838132591123ae6ad9c3 (diff)
downloadfetchmail-eb0c61e4812ab19973df9b588f06c9d50a2d038c.tar.gz
fetchmail-eb0c61e4812ab19973df9b588f06c9d50a2d038c.tar.bz2
fetchmail-eb0c61e4812ab19973df9b588f06c9d50a2d038c.zip
Got rid of line limit member.
svn path=/trunk/; revision=31
Diffstat (limited to 'options.c')
-rw-r--r--options.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/options.c b/options.c
index cd10d138..f669f49c 100644
--- a/options.c
+++ b/options.c
@@ -85,7 +85,7 @@ static struct option longoptions[] = {
syntax errors.
calls: none.
globals: writes outlevel, versioninfo, yydebug, logfile,
- poll_interval, quitmode, poprcfile.
+ poll_interval, quitmode, poprcfile, linelimit.
*********************************************************************/
int parsecmdline (argc,argv,options)
@@ -152,8 +152,8 @@ struct optrec *options;
break;
case 'l':
case LA_LIMIT:
- options->limit = atoi(optarg);
- if (options->limit < 0) {
+ linelimit = atoi(optarg);
+ if (linelimit < 0) {
fprintf(stderr,"Line count limit must be non-negative");
errflag++;
}
@@ -254,7 +254,7 @@ struct optrec *options;
return(-1);
}
else {
- if (options->limit && !got_kill)
+ if (linelimit && !got_kill)
options->keep = !0;
else
;