aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_getnameinfo.c
AgeCommit message (Collapse)Author
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