aboutsummaryrefslogtreecommitdiffstats
path: root/main/dns.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-04 13:11:49 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2007-09-04 13:11:49 +0000
commitf35b1d4b35ec97bbcaff0f0cd6930e2e6c87bf59 (patch)
tree41b6e2420116056807e0afa7285565aefb2698ad /main/dns.c
parent94c9b774b9fa52262bcbcd56070164fd1e39cd3f (diff)
Merged revisions 81435 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r81435 | file | 2007-09-04 10:10:56 -0300 (Tue, 04 Sep 2007) | 7 lines (closes issue #10610) Reported by: john Patches: dns.c.patch uploaded by john (license 218) Tested by: mvanbaak Don't return a match if no SRV record actually exists. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@81436 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dns.c')
-rw-r--r--main/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dns.c b/main/dns.c
index b8530d08a..05a64c469 100644
--- a/main/dns.c
+++ b/main/dns.c
@@ -280,7 +280,7 @@ int ast_search_dns(void *context,
ast_log(LOG_WARNING, "DNS Parse error for %s\n", dname);
ret = -1;
}
- else if (ret == 0) {
+ else if (res == 0) {
ast_debug(1, "No matches found in DNS for %s\n", dname);
ret = 0;
}