From d9aa67fa440ae92764078d350aaf46f70ab8ffd7 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 11 Jun 1997 15:28:25 +0000 Subject: Step towards supporting command-line zeroing of numeric options. svn path=/trunk/; revision=1087 --- fetchmail.c | 6 +++--- 1 file 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"); -- cgit v1.2.3