From eb0c61e4812ab19973df9b588f06c9d50a2d038c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 12:45:18 +0000 Subject: Got rid of line limit member. svn path=/trunk/; revision=31 --- fetchmail.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'fetchmail.c') 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); } /********************************************************************* -- cgit v1.2.3