git://git.exim.org
/
users
/
jgh
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798f658
)
Debug: internal consistency under testsuite
author
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 22 Apr 2020 21:03:09 +0000
(22:03 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Wed, 22 Apr 2020 21:03:09 +0000
(22:03 +0100)
src/src/routers/rf_lookup_hostlist.c
patch
|
blob
|
history
diff --git
a/src/src/routers/rf_lookup_hostlist.c
b/src/src/routers/rf_lookup_hostlist.c
index 7f7ab6d0d04e3c7082e6e1b70dcfb942790e901e..4b09247e50f72d69f81d980b91bf7d9339aad596 100644
(file)
--- a/
src/src/routers/rf_lookup_hostlist.c
+++ b/
src/src/routers/rf_lookup_hostlist.c
@@
-148,7
+148,9
@@
for (host_item * prev = NULL, * h = addr->host_list, *next_h; h; h = next_h)
if (lookup_type & LK_DEFAULT)
{
DEBUG(D_route|D_host_lookup)
- debug_printf("DNS lookup failed: trying getipnodebyname\n");
+ debug_printf("DNS lookup failed: trying %s\n",
+ f.running_in_test_harness
+ ? "host_fake_gethostbyname" : "getipnodebyname");
rc = host_find_byname(h, ignore_target_hosts, HOST_FIND_QUALIFY_SINGLE,
&canonical_name, TRUE);
}