summaryrefslogtreecommitdiff
path: root/ares_getnameinfo.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-04Another timeout fix in ares_getnameinfo().Steinar H. Gunderson1-1/+1
2007-10-04Send the timeout count in ares_getnameinfo().Steinar H. Gunderson1-1/+1
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson1-11/+13
the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
2007-07-03few minor changes to make ares compile for NetWare CLIB architecture.Gunter Knauf1-0/+4
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem1-2/+0
since it's already included through "setup.h".
2007-02-06compiler warning fixYang Tse1-2/+6
2007-02-05compiler warning fixYang Tse1-1/+1
2007-02-02compiler warning fixYang Tse1-1/+1
2007-02-01compiler warning fixYang Tse1-2/+4
2007-02-01compiler warning fixYang Tse1-1/+4
2007-01-29fix compiler warning "discards qualifiers from pointer target type" in debug ↵Yang Tse1-1/+2
builds
2006-10-25Fixed "'x' might be used uninitialized in this function" warning.Gisle Vanem1-9/+9
Removed trailing whitespace.
2006-08-29Brad Spencer didDaniel Stenberg1-2/+2
o made ares_version.h use extern "C" for c++ compilers o fixed compiler warnings in ares_getnameinfo.c o fixed a buffer position init for TCP reads
2005-12-11Undo last changesYang Tse1-1/+1
2005-12-11Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse1-1/+1
used in getnameinfo() to receive the length of the sockaddr struct.
2005-12-10Modified lookup_service() to avoid the risk of a potential buffer overflowYang Tse1-55/+47
2005-12-09Fix compiler warningYang Tse1-0/+2
2005-11-25Change based on Yang Tse's excellent fix to reduce buffer overflow risk andDaniel Stenberg1-11/+21
fixing a compiler warning in the append_scopeid() function.
2005-11-24avoid doing #if an a predef symbol that might not be definedDaniel Stenberg1-0/+2
2005-11-14Added CVS id.Gisle Vanem1-2/+5
Avoid warning 'x might be used uninitialized in this function'.
2005-10-03Ok, based on the online docs for AIX'es getservbyport_r() I adjusted to codeDaniel Stenberg1-1/+2
to do (what I believe is) "right". See docs on: http://publib.boulder.ibm.com/infocenter/pseries/index.jsp?topic=/com.ibm.aix.doc/libs/commtrf2/getservbyport_r.htm
2005-09-211 - attempted fix of uninitialized variableDaniel Stenberg1-28/+44
2 - indented and edited to fit better within 80 columns 3 - fixed possible buffer overflow in the service name lookup function
2005-09-18Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo ↵Dominick Meglio1-1/+26
use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
2005-05-17More of the sameDominick Meglio1-1/+2
2005-05-17More compiler warning cleanupsDominick Meglio1-2/+7
2005-05-16Cleaned up some compile warningsDominick Meglio1-4/+7
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio1-0/+322