aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-04-17 07:57:06 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-04-17 07:57:06 +0000
commit68b96cb4f8258c5120b8daec819cb8ae2456f399 (patch)
tree403b0993b7b42e3dc84a9cdbd502f824e02a7081 /fetchmail.c
parentddb99a133d2301974d24b41b19210f3c03bc708c (diff)
downloadfetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.tar.gz
fetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.tar.bz2
fetchmail-68b96cb4f8258c5120b8daec819cb8ae2456f399.zip
Added forcecr option.
svn path=/trunk/; revision=963
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 700b9bab..172eb17e 100644
--- a/fetchmail.c
+++ b/fetchmail.c
@@ -631,6 +631,7 @@ static int load_params(int argc, char **argv, int optind)
DEFAULT(ctl->fetchall, FALSE);
DEFAULT(ctl->rewrite, TRUE);
DEFAULT(ctl->stripcr, (ctl->mda != (char *)NULL));
+ DEFAULT(ctl->forcecr, FALSE);
DEFAULT(ctl->server.dns, TRUE);
DEFAULT(ctl->server.uidl, FALSE);
#undef DEFAULT
@@ -853,6 +854,9 @@ void dump_params (struct query *ctl)
printf(" Carriage-return stripping is %sabled (--stripcr %s).\n",
ctl->stripcr ? "en" : "dis",
ctl->stripcr ? "on" : "off");
+ printf(" Carriage-return forcing is %sabled (--forcecr %s).\n",
+ ctl->forcecr ? "en" : "dis",
+ ctl->forcecr ? "on" : "off");
if (ctl->limit)
printf(" Message size limit is %d bytes (--limit %d).\n",
ctl->limit, ctl->limit);