summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHeiko Schlittermann (HS12) <hs@schlittermann.de>2015-05-11 22:14:31 +0200
committerHeiko Schlittermann (HS12) <hs@schlittermann.de>2015-05-11 22:14:31 +0200
commit8e0130284ead48da81351d4d2c22fe7eb23703d6 (patch)
tree816690fab1984107befa9d0212cf46f8b8a9b03c /src
parent8241d8dda54bd5680b6fd8ef16108c0309a5ade7 (diff)
Diagnostic debug message if fakens is not found
Diffstat (limited to 'src')
-rw-r--r--src/src/dns.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/src/dns.c b/src/src/dns.c
index ef734d21a..24f3522c7 100644
--- a/src/src/dns.c
+++ b/src/src/dns.c
@@ -23,7 +23,7 @@ If not, it passes its arguments on to res_search(). The fake nameserver may
also return a code specifying that the name should be passed on.
Background: the original test suite required a real nameserver to carry the
-test zones, whereas the new test suit has the fake server for portability. This
+test zones, whereas the new test suite has the fake server for portability. This
code supports both.
Arguments:
@@ -129,6 +129,10 @@ if (stat(CS utilname, &statbuf) >= 0)
DEBUG(D_dns) debug_printf("fakens returned PASS_ON\n");
}
}
+else
+ {
+ DEBUG(D_dns) debug_printf("fakens (%s) not found\n", utilname);
+ }
/* fakens utility not found, or it returned "pass on" */