aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getnameinfo.c
AgeCommit message (Collapse)Author
2008-11-28Make use of gethostname() conditional on it being availableDan Fandrich
2008-09-17improve detection of getservbyport_r()Yang Tse
2008-09-17adjust inclusion of "nameser.h"Yang Tse
2008-09-15include header file only when availableYang Tse
2008-09-11move inclusion of ares_private.h lastYang Tse
2007-10-04Another timeout fix in ares_getnameinfo().Steinar H. Gunderson
2007-10-04Send the timeout count in ares_getnameinfo().Steinar H. Gunderson
2007-09-28Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson
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 Knauf
2007-02-26Removed inclusion of <sys/types.h> in .c-filesGisle Vanem
since it's already included through "setup.h".
2007-02-06compiler warning fixYang Tse
2007-02-05compiler warning fixYang Tse
2007-02-02compiler warning fixYang Tse
2007-02-01compiler warning fixYang Tse
2007-02-01compiler warning fixYang Tse
2007-01-29fix compiler warning "discards qualifiers from pointer target type" in debug ↵Yang Tse
builds
2006-10-25Fixed "'x' might be used uninitialized in this function" warning.Gisle Vanem
Removed trailing whitespace.
2006-08-29Brad Spencer didDaniel Stenberg
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 Tse
2005-12-11Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse
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 Tse
2005-12-09Fix compiler warningYang Tse
2005-11-25Change based on Yang Tse's excellent fix to reduce buffer overflow risk andDaniel Stenberg
fixing a compiler warning in the append_scopeid() function.
2005-11-24avoid doing #if an a predef symbol that might not be definedDaniel Stenberg
2005-11-14Added CVS id.Gisle Vanem
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 Stenberg
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 Stenberg
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 Meglio
use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
2005-05-17More of the sameDominick Meglio
2005-05-17More compiler warning cleanupsDominick Meglio
2005-05-16Cleaned up some compile warningsDominick Meglio
2005-05-16Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio