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 /fetchmail.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 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/fetchmail.c b/fetchmail.c index b99e8d30..94929549 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -50,16 +50,19 @@ int dump_options (struct optrec *options); int query_host(struct optrec *options); #endif -/* Controls the detail of status/progress messages written to stderr */ -int outlevel; /* see the O_.* constants in popclient.h */ -int versioninfo; /* emit only version info */ +/* controls the detail level of status/progress messages written to stderr */ +int outlevel; /* see the O_.* constants above */ +int yydebug; /* enable parse debugging */ -/* Daemon-mode control */ -int poll_interval; /* polling interval for daemon mode */ -char *logfile; /* logfile to ship progress reports to */ -int quitmode; /* if -quit was set */ +/* daemon mode control */ +int poll_interval; /* poll interval in seconds */ +char *logfile; /* log file for daemon mode */ +int quitmode; /* if --quit was set */ +/* miscellaneous global controls */ char *poprcfile; /* path name of rc file */ +int linelimit; /* limit # lines retrieved per site */ +int versioninfo; /* emit only version info */ /* args for the MDA, parsed out in the usual fashion by parseMDAargs() */ char *mda_argv [32]; @@ -265,7 +268,7 @@ int showversioninfo() return value: none. calls: none. - globals: none. + globals: linelimit, outlimit. *********************************************************************/ int dump_options (options) @@ -316,11 +319,11 @@ struct optrec *options; printf(" (MDA would have been '%s')\n", options->mda); } - if (options->limit == 0) + if (linelimit == 0) printf(" No limit on retrieved message length.\n"); else printf(" Text retrieved per message will be at most %d bytes.\n", - options->limit); + linelimit); } /********************************************************************* |