aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-07-28 16:16:13 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-07-28 16:16:13 +0000
commit7301e74a9bfbf0abaf2782bc2b7112a84bcd32c8 (patch)
treed7c878d5f6eb90b1a132cc200b44ea022c9fa144 /fetchmail.c
parentf7aef23b0c18a1ee4724f9e10984427cdee07c5d (diff)
downloadfetchmail-7301e74a9bfbf0abaf2782bc2b7112a84bcd32c8.tar.gz
fetchmail-7301e74a9bfbf0abaf2782bc2b7112a84bcd32c8.tar.bz2
fetchmail-7301e74a9bfbf0abaf2782bc2b7112a84bcd32c8.zip
Added the dropstatus option.
svn path=/trunk/; revision=1183
Diffstat (limited to 'fetchmail.c')
-rw-r--r--fetchmail.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/fetchmail.c b/fetchmail.c
index dfd0c300..68e8e4dc 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -602,6 +602,7 @@ static int load_params(int argc, char **argv, int optind)
DEFAULT(ctl->stripcr, (ctl->mda != (char *)NULL));
DEFAULT(ctl->forcecr, FALSE);
DEFAULT(ctl->pass8bits, FALSE);
+ DEFAULT(ctl->dropstatus, FALSE);
DEFAULT(ctl->server.dns, TRUE);
DEFAULT(ctl->server.uidl, FALSE);
#undef DEFAULT
@@ -878,6 +879,9 @@ void dump_params (struct query *ctl)
printf(" Interpretation of Content-Transfer-Encoding is %sabled (pass8bits %s).\n",
ctl->pass8bits ? "dis" : "en",
ctl->pass8bits ? "on" : "off");
+ printf(" Nonempty Status lines will be %s (dropstatus %s)\n",
+ ctl->dropstatus ? "discarded" : "kept",
+ ctl->dropstatus ? "on" : "off");
if (ctl->limit > 0)
printf(" Message size limit is %d bytes (--limit %d).\n",
ctl->limit, ctl->limit);