summaryrefslogtreecommitdiff
path: root/ares/ares_getnameinfo.c
Commit message (Collapse)AuthorAgeFilesLines
* improve detection of getservbyport_r()Yang Tse2008-09-171-0/+7
|
* adjust inclusion of "nameser.h"Yang Tse2008-09-171-10/+8
|
* include header file only when availableYang Tse2008-09-151-0/+10
|
* move inclusion of ares_private.h lastYang Tse2008-09-111-1/+1
|
* Another timeout fix in ares_getnameinfo().Steinar H. Gunderson2007-10-041-1/+1
|
* Send the timeout count in ares_getnameinfo().Steinar H. Gunderson2007-10-041-1/+1
|
* Make the query callbacks return the number of timeouts that happened during ↵Steinar H. Gunderson2007-09-281-11/+13
| | | | the execution of a query, and update documentation accordingly. (Patch from the Google tree.)
* few minor changes to make ares compile for NetWare CLIB architecture.Gunter Knauf2007-07-031-0/+4
|
* Removed inclusion of <sys/types.h> in .c-filesGisle Vanem2007-02-261-2/+0
| | | | since it's already included through "setup.h".
* compiler warning fixYang Tse2007-02-061-2/+6
|
* compiler warning fixYang Tse2007-02-051-1/+1
|
* compiler warning fixYang Tse2007-02-021-1/+1
|
* compiler warning fixYang Tse2007-02-011-2/+4
|
* compiler warning fixYang Tse2007-02-011-1/+4
|
* fix compiler warning "discards qualifiers from pointer target type" in debug ↵Yang Tse2007-01-291-1/+2
| | | | builds
* Fixed "'x' might be used uninitialized in this function" warning.Gisle Vanem2006-10-251-9/+9
| | | | Removed trailing whitespace.
* Brad Spencer didDaniel Stenberg2006-08-291-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
* Undo last changesYang Tse2005-12-111-1/+1
|
* Fix compiler warning and compatibility issue with the type of the parameter ↵Yang Tse2005-12-111-1/+1
| | | | used in getnameinfo() to receive the length of the sockaddr struct.
* Modified lookup_service() to avoid the risk of a potential buffer overflowYang Tse2005-12-101-55/+47
|
* Fix compiler warningYang Tse2005-12-091-0/+2
|
* Change based on Yang Tse's excellent fix to reduce buffer overflow risk andDaniel Stenberg2005-11-251-11/+21
| | | | fixing a compiler warning in the append_scopeid() function.
* avoid doing #if an a predef symbol that might not be definedDaniel Stenberg2005-11-241-0/+2
|
* Added CVS id.Gisle Vanem2005-11-141-2/+5
| | | | Avoid warning 'x might be used uninitialized in this function'.
* Ok, based on the online docs for AIX'es getservbyport_r() I adjusted to codeDaniel Stenberg2005-10-031-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
* 1 - attempted fix of uninitialized variableDaniel Stenberg2005-09-211-28/+44
| | | | | 2 - indented and edited to fit better within 80 columns 3 - fixed possible buffer overflow in the service name lookup function
* Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo ↵Dominick Meglio2005-09-181-1/+26
| | | | use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment
* More of the sameDominick Meglio2005-05-171-1/+2
|
* More compiler warning cleanupsDominick Meglio2005-05-171-2/+7
|
* Cleaned up some compile warningsDominick Meglio2005-05-161-4/+7
|
* Added ares_getnameinfo which mimics the getnameinfo APIDominick Meglio2005-05-161-0/+322