diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-04 13:10:56 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-09-04 13:10:56 +0000 |
commit | aa7b59d65e863c8e28c7a69610dfc105e1b9bf79 (patch) | |
tree | eb40544490782d0496e730a0606b994df05be6f9 /main/dns.c | |
parent | 0ad8dbf57c0fc0619f7fa583acb1664d5512e7a1 (diff) |
(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/branches/1.4@81435 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/dns.c')
-rw-r--r-- | main/dns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/dns.c b/main/dns.c index 36e819cb9..2e17f6dd3 100644 --- a/main/dns.c +++ b/main/dns.c @@ -267,7 +267,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_log(LOG_DEBUG, "No matches found in DNS for %s\n", dname); ret = 0; } |