git://git.exim.org
/
exim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add retry type "lookup". Bug 1566
[exim.git]
/
src
/
src
/
routers
/
rf_lookup_hostlist.c
diff --git
a/src/src/routers/rf_lookup_hostlist.c
b/src/src/routers/rf_lookup_hostlist.c
index 0eae31e6160f0f21d76ce4cd0cdd612e3c2fc1a1..ab2e4ec2c374cd3f0cac804ac71f2ce4d4252568 100644
(file)
--- a/
src/src/routers/rf_lookup_hostlist.c
+++ b/
src/src/routers/rf_lookup_hostlist.c
@@
-64,7
+64,7
@@
list of MX hosts. If the first host is the local host, act according to the
prev = NULL;
for (h = addr->host_list; h != NULL; h = next_h)
{
prev = NULL;
for (h = addr->host_list; h != NULL; h = next_h)
{
- uschar *canonical_name;
+
const
uschar *canonical_name;
int rc, len, port;
next_h = h->next;
int rc, len, port;
next_h = h->next;
@@
-168,6
+168,7
@@
for (h = addr->host_list; h != NULL; h = next_h)
if (hff_code == hff_pass) return PASS;
if (hff_code == hff_decline) return DECLINE;
if (hff_code == hff_pass) return PASS;
if (hff_code == hff_decline) return DECLINE;
+ addr->basic_errno = ERRNO_UNKNOWNHOST;
addr->message =
string_sprintf("lookup of host \"%s\" failed in %s router%s",
h->name, rblock->name,
addr->message =
string_sprintf("lookup of host \"%s\" failed in %s router%s",
h->name, rblock->name,