diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-04 23:04:29 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-03-04 23:04:29 +0000 |
commit | cfc1df4c1a5605bf57191dee4d137122cbafded7 (patch) | |
tree | 36a818ef47a50925ad9a7269bc290cb079783e52 /main/dns.c | |
parent | 96e04792bdb8aa2235f6a8b5b1a3e4204b78eacf (diff) |
Whitespace changes only
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@105840 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/dns.c')
-rw-r--r-- | main/dns.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 |