From 8e0130284ead48da81351d4d2c22fe7eb23703d6 Mon Sep 17 00:00:00 2001 From: "Heiko Schlittermann (HS12)" Date: Mon, 11 May 2015 22:14:31 +0200 Subject: [PATCH 1/1] Diagnostic debug message if fakens is not found --- src/src/dns.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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" */ -- 2.30.2