mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-02 19:16:15 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@81436 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user