diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 05:06:19 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-12-18 05:06:19 +0000 |
commit | 54f81620fae6f46c55a930a348008e11c75b4f88 (patch) | |
tree | 6f57ff815374547642a609c4f8efa208749cbe2f /fetchmail.c | |
parent | 2f1b2a582eda2b8993771bfece902f696c4dd9c4 (diff) | |
download | fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.tar.gz fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.tar.bz2 fetchmail-54f81620fae6f46c55a930a348008e11c75b4f88.zip |
Added `fetchlimit'.
svn path=/trunk/; revision=657
Diffstat (limited to 'fetchmail.c')
-rw-r--r-- | fetchmail.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fetchmail.c b/fetchmail.c index d8f42e51..65c84933 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -58,6 +58,7 @@ char *logfile; /* log file for daemon mode */ int quitmode; /* if --quit was set */ int check_only; /* if --probe was set */ int cmd_batchlimit; /* if --batchlimit was set */ +int cmd_fetchlimit; /* if --fetchlimit was set */ char *cmd_logfile; /* if --logfile was set */ /* miscellaneous global controls */ @@ -756,9 +757,15 @@ void dump_params (struct query *ctl) ctl->norewrite ? "dis" : "en", ctl->norewrite ? "on" : "off"); if (ctl->limit) - printf(" Message size limit is %d bytes\n", ctl->limit); + printf(" Message size limit is %d bytes (--limit %d).\n", + ctl->limit, ctl->limit); else if (outlevel == O_VERBOSE) - printf(" No message size limit\n"); + printf(" No message size limit (--limit 0).\n"); + if (ctl->fetchlimit) + printf(" Received-message limit is %d (--fetchlimit %d).\n", + ctl->fetchlimit, ctl->fetchlimit); + else if (outlevel == O_VERBOSE) + printf(" No received-message limit (--fetchlimit 0).\n"); if (ctl->mda[0]) printf(" Messages will be delivered with '%s.'\n", visbuf(ctl->mda)); else |