diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-10 12:28:44 +0100 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2019-09-10 12:33:28 +0100 |
commit | b09c17939112f84e689a9c1343f00ca84610325d (patch) | |
tree | 9ca4bc1038d6c1019d4b771bf2bbb84a47660524 /src | |
parent | dc46d79f6c3b958036358dfd6c75b7bdc8471835 (diff) |
tidying
Diffstat (limited to 'src')
-rw-r--r-- | src/src/lookups/dnsdb.c | 6 | ||||
-rw-r--r-- | src/src/routers/dnslookup.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/src/lookups/dnsdb.c b/src/src/lookups/dnsdb.c index 64d0a5334..272734456 100644 --- a/src/src/lookups/dnsdb.c +++ b/src/src/lookups/dnsdb.c @@ -313,9 +313,9 @@ if (!outsep2) switch(type) while ((domain = string_nextinlist(&keystring, &sep, NULL, 0))) { uschar rbuffer[256]; - int searchtype = (type == T_CSA)? T_SRV : /* record type we want */ - (type == T_MXH)? T_MX : - (type == T_ZNS)? T_NS : type; + int searchtype = type == T_CSA ? T_SRV : /* record type we want */ + type == T_MXH ? T_MX : + type == T_ZNS ? T_NS : type; /* If the type is PTR or CSA, we have to construct the relevant magic lookup key if the original is an IP address (some experimental protocols are using diff --git a/src/src/routers/dnslookup.c b/src/src/routers/dnslookup.c index 2471f2fb7..2a2dd4661 100644 --- a/src/src/routers/dnslookup.c +++ b/src/src/routers/dnslookup.c @@ -289,7 +289,7 @@ for (;;) /* Unfortunately, we cannot set the mx_only option in advance, because the DNS lookup may extend an unqualified name. Therefore, we must do the test - stoubsequently. We use the same logic as that for widen_domains above to avoid + subsequently. We use the same logic as that for widen_domains above to avoid requesting a header rewrite that cannot work. */ if (verify != v_sender || !ob->rewrite_headers || addr->parent) |