[asterisk-commits] file: trunk r81436 - in /trunk: ./ main/dns.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Sep 4 08:11:49 CDT 2007


Author: file
Date: Tue Sep  4 08:11:49 2007
New Revision: 81436

URL: http://svn.digium.com/view/asterisk?view=rev&rev=81436
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/main/dns.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/dns.c
URL: http://svn.digium.com/view/asterisk/trunk/main/dns.c?view=diff&rev=81436&r1=81435&r2=81436
==============================================================================
--- trunk/main/dns.c (original)
+++ trunk/main/dns.c Tue Sep  4 08:11:49 2007
@@ -280,7 +280,7 @@
 			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;
 		}




More information about the asterisk-commits mailing list