aboutsummaryrefslogtreecommitdiffstats
path: root/main/dns.c
AgeCommit message (Collapse)AuthorFilesLines
2008-04-01Initialize the __res_state structure used for dns purposesmmichelson1-0/+1
to all 0's prior to using it. This is due to valgrind's complaints on issue #12284 as well as an excerpt found in "Description" portion of the online man page found here: http://www.iti.cs.tu-bs.de/cgi-bin/UNIXhelp/man-cgi?res_nquery+3RESOLV (pertains to issue #12284 but does not necessarily close it) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@112138 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-04(closes issue #10610)file1-1/+1
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
2007-07-16Merged revisions 75304 via svnmerge from kpfleming1-0/+59
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r75304 | kpfleming | 2007-07-16 15:46:58 -0500 (Mon, 16 Jul 2007) | 3 lines provide proper copyright/license attribution for this structure that was copied from a BSD-licensed header file long, long ago... ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@75306 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Don't use #if to check if something is defined - use #ifdef instead.qwell1-5/+5
Pointed out by kpfleming git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74388 f38db490-d61c-443f-a65b-d21fe96a405b
2007-07-10Merged revisions 74373 via svnmerge from qwell1-0/+4
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r74373 | qwell | 2007-07-10 13:37:23 -0500 (Tue, 10 Jul 2007) | 5 lines Use res_ndestroy on systems that have it. Otherwise, use res_nclose. This prevents a memleak on NetBSD - and possibly others. Issue 10133, patch by me, reported and tested by scw ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@74374 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-0/+228
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b