diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 12:45:18 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 12:45:18 +0000 |
commit | eb0c61e4812ab19973df9b588f06c9d50a2d038c (patch) | |
tree | f15c47e03f5e00823c2b1faa19d03ef2b2706e06 /options.c | |
parent | 3e22607c5ba702824afd838132591123ae6ad9c3 (diff) | |
download | fetchmail-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.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 ; |