aboutsummaryrefslogtreecommitdiffstats
path: root/options.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-02-24 23:28:44 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-02-24 23:28:44 +0100
commitddcc491837e5b2c1e741eac54dc4058e2f77e398 (patch)
treefb359fc22c3e53370c9a5b5cbce7b4da882e8cb2 /options.c
parented2a64b0d27586f4e3ab8e42f535a97a220843d5 (diff)
downloadfetchmail-ddcc491837e5b2c1e741eac54dc4058e2f77e398.tar.gz
fetchmail-ddcc491837e5b2c1e741eac54dc4058e2f77e398.tar.bz2
fetchmail-ddcc491837e5b2c1e741eac54dc4058e2f77e398.zip
Rename bad-header pass to bad-header accept, ...
to resolve an ambiguity found by Frédéric Marchal.
Diffstat (limited to 'options.c')
-rw-r--r--options.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/options.c b/options.c
index 066a8ab0..0617bdb0 100644
--- a/options.c
+++ b/options.c
@@ -313,8 +313,8 @@ int parsecmdline (int argc /** argument count */,
run.softbounce = TRUE;
break;
case LA_BADHEADER:
- if (strcasecmp(optarg,"pass") == 0) {
- ctl->server.badheader = BHPASS;
+ if (strcasecmp(optarg,"accept") == 0) {
+ ctl->server.badheader = BHACCEPT;
} else if (strcasecmp(optarg,"reject") == 0) {
ctl->server.badheader = BHREJECT;
} else {
@@ -648,7 +648,7 @@ int parsecmdline (int argc /** argument count */,
#endif
P(GT_(" --plugin specify external command to open connection\n"));
P(GT_(" --plugout specify external command to open smtp connection\n"));
- P(GT_(" --bad-header {reject|pass}\n"
+ P(GT_(" --bad-header {reject|accept}\n"
" specify policy for handling messages with bad headers\n"));
P(GT_(" -p, --protocol specify retrieval protocol (see man page)\n"));