diff options
author | Josh Soref <jsoref@users.noreply.github.com> | 2017-01-18 11:36:24 -0500 |
---|---|---|
committer | Phil Pennock <pdp@exim.org> | 2017-01-18 11:36:24 -0500 |
commit | f988ce57300f2dcb7ddb63f767ef5ebef76b2aa4 (patch) | |
tree | 6348feb5447ab6ac182c785c0bab9f9328823bd9 /src | |
parent | 4c04137d73637107669e02b21f890387aaa2ef34 (diff) |
Bug-fix no_require_dnssec parsing & spelling fixes
Patches from Josh Soref fixing spelling fixed two bugs:
* Parsing `no_require_dnssec` configuration option
* Setting `_HAVE_TRANSPORT_APPEND_MAILDIR` macro (for config parsing)
[ PP pulled these two out into a separate commit to update the ChangeLog
accordingly. ]
Diffstat (limited to 'src')
-rw-r--r-- | src/src/host.c | 2 | ||||
-rw-r--r-- | src/src/readconf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/src/host.c b/src/src/host.c index f69e329d9..b3b8b1882 100644 --- a/src/src/host.c +++ b/src/src/host.c @@ -3243,7 +3243,7 @@ while (Ufgets(buffer, 256, stdin) != NULL) else if (Ustrcmp(buffer, "request_dnssec") == 0) request_dnssec = TRUE; else if (Ustrcmp(buffer, "no_request_dnssec") == 0) request_dnssec = FALSE; else if (Ustrcmp(buffer, "require_dnssec") == 0) require_dnssec = TRUE; - else if (Ustrcmp(buffer, "no_reqiret_dnssec") == 0) require_dnssec = FALSE; + else if (Ustrcmp(buffer, "no_require_dnssec") == 0) require_dnssec = FALSE; else if (Ustrcmp(buffer, "test_harness") == 0) running_in_test_harness = !running_in_test_harness; else if (Ustrcmp(buffer, "ipv6") == 0) disable_ipv6 = !disable_ipv6; diff --git a/src/src/readconf.c b/src/src/readconf.c index b2de8a3d3..55bba4c05 100644 --- a/src/src/readconf.c +++ b/src/src/readconf.c @@ -852,7 +852,7 @@ due to conflicts with other common macros. */ #ifdef TRANSPORT_APPENDFILE # ifdef SUPPORT_MAILDIR - macro_create(US"_HAVE_TRANSPORT_APPEND_MAILDR", US"y", FALSE, TRUE); + macro_create(US"_HAVE_TRANSPORT_APPEND_MAILDIR", US"y", FALSE, TRUE); # endif # ifdef SUPPORT_MAILSTORE macro_create(US"_HAVE_TRANSPORT_APPEND_MAILSTORE", US"y", FALSE, TRUE); |