summaryrefslogtreecommitdiff
path: root/main/dns.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2008-03-04 23:04:29 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2008-03-04 23:04:29 +0000
commitcfc1df4c1a5605bf57191dee4d137122cbafded7 (patch)
tree36a818ef47a50925ad9a7269bc290cb079783e52 /main/dns.c
parent96e04792bdb8aa2235f6a8b5b1a3e4204b78eacf (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.c6
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