diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 15:28:25 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-06-11 15:28:25 +0000 |
commit | d9aa67fa440ae92764078d350aaf46f70ab8ffd7 (patch) | |
tree | 8d33f56378ddf956adb67e05436d74d8c99e4243 | |
parent | f147c93890870117cff16927ed6c54efbe6c3bc9 (diff) | |
download | fetchmail-d9aa67fa440ae92764078d350aaf46f70ab8ffd7.tar.gz fetchmail-d9aa67fa440ae92764078d350aaf46f70ab8ffd7.tar.bz2 fetchmail-d9aa67fa440ae92764078d350aaf46f70ab8ffd7.zip |
Step towards supporting command-line zeroing of numeric options.
svn path=/trunk/; revision=1087
-rw-r--r-- | fetchmail.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fetchmail.c b/fetchmail.c index 222b2e84..4e128686 100644 --- a/fetchmail.c +++ b/fetchmail.c @@ -917,17 +917,17 @@ void dump_params (struct query *ctl) printf(" Carriage-return forcing is %sabled (--forcecr %s).\n", ctl->forcecr ? "en" : "dis", ctl->forcecr ? "on" : "off"); - if (ctl->limit) + if (ctl->limit > 0) printf(" Message size limit is %d bytes (--limit %d).\n", ctl->limit, ctl->limit); else if (outlevel == O_VERBOSE) printf(" No message size limit (--limit 0).\n"); - if (ctl->fetchlimit) + if (ctl->fetchlimit > 0) 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->batchlimit) + if (ctl->batchlimit > 0) printf(" SMTP message batch limit is %d.\n", ctl->batchlimit); else if (outlevel == O_VERBOSE) printf(" No SMTP message batch limit.\n"); |