From 832983e43a42ce1141e10d46a8cadd6e2ac48ba9 Mon Sep 17 00:00:00 2001 From: tilghman Date: Tue, 4 Mar 2008 23:04:29 +0000 Subject: Whitespace changes only git-svn-id: http://svn.digium.com/svn/asterisk/trunk@105840 f38db490-d61c-443f-a65b-d21fe96a405b --- main/dns.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'main/dns.c') diff --git a/main/dns.c b/main/dns.c index 34212fdf1..f6dc407dd 100644 --- a/main/dns.c +++ b/main/dns.c @@ -274,12 +274,10 @@ int ast_search_dns(void *context, if ((res = dns_parse_answer(context, class, type, answer, res, callback)) < 0) { ast_log(LOG_WARNING, "DNS Parse error for %s\n", dname); ret = -1; - } - else if (res == 0) { + } else if (res == 0) { ast_debug(1, "No matches found in DNS for %s\n", dname); ret = 0; - } - else + } else ret = 1; } #ifdef HAVE_RES_NINIT -- cgit v1.2.3