1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-06 11:59:48 +00:00
Commit Graph

36 Commits

Author SHA1 Message Date
52d5de9cc1 Remove unneeded preprocessor directives 2009-11-09 12:56:11 +00:00
a82a8fbf82 Renamed c-ares setup.h to ares_setup.h 2009-11-02 11:55:53 +00:00
85442b2a4b Attempt to silence bogus compiler warning: "Potential null pointer dereference" 2009-09-17 11:45:27 +00:00
3a55bbebf1 Use build-time configured ares_socklen_t instead of socklen_t 2009-05-02 02:36:47 +00:00
9c51eb28fc Make use of gethostname() conditional on it being available 2008-11-28 22:41:14 +00:00
898e10bd60 improve detection of getservbyport_r() 2008-09-17 11:31:37 +00:00
f214b583f5 adjust inclusion of "nameser.h" 2008-09-17 01:02:57 +00:00
f2582d6949 include header file only when available 2008-09-15 17:14:29 +00:00
2cb5cbba34 move inclusion of ares_private.h last 2008-09-11 03:46:47 +00:00
b7dec81498 Another timeout fix in ares_getnameinfo(). 2007-10-04 08:09:52 +00:00
d5919bbe17 Send the timeout count in ares_getnameinfo(). 2007-10-04 08:09:04 +00:00
50ba81cd23 Make the query callbacks return the number of timeouts that happened during the execution of a query, and update documentation accordingly. (Patch from the Google tree.) 2007-09-28 14:46:51 +00:00
316c126447 few minor changes to make ares compile for NetWare CLIB architecture. 2007-07-03 16:00:36 +00:00
a627160041 Removed inclusion of <sys/types.h> in .c-files
since it's already included through "setup.h".
2007-02-26 04:33:19 +00:00
b9c00a23ce compiler warning fix 2007-02-06 03:31:27 +00:00
12393dcd5c compiler warning fix 2007-02-05 04:10:32 +00:00
7fe31e4d00 compiler warning fix 2007-02-02 17:16:06 +00:00
145117174e compiler warning fix 2007-02-01 15:36:56 +00:00
fb38ee15e2 compiler warning fix 2007-02-01 01:42:13 +00:00
3c90d9d6d3 fix compiler warning "discards qualifiers from pointer target type" in debug builds 2007-01-29 20:56:27 +00:00
4df9c29084 Fixed "'x' might be used uninitialized in this function" warning.
Removed trailing whitespace.
2006-10-25 14:16:01 +00:00
1bec3073dc Brad Spencer did
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
2006-08-29 15:17:47 +00:00
ed8eeae98e Undo last changes 2005-12-11 23:37:58 +00:00
b4e6ca49d8 Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct. 2005-12-11 12:03:01 +00:00
6681cc24e9 Modified lookup_service() to avoid the risk of a potential buffer overflow 2005-12-10 19:21:59 +00:00
bc727dff6a Fix compiler warning 2005-12-09 22:23:50 +00:00
1638613891 Change based on Yang Tse's excellent fix to reduce buffer overflow risk and
fixing a compiler warning in the append_scopeid() function.
2005-11-25 22:14:28 +00:00
fab5b5e116 avoid doing #if an a predef symbol that might not be defined 2005-11-24 23:03:25 +00:00
af93e3305e Added CVS id.
Avoid warning 'x might be used uninitialized in this function'.
2005-11-14 13:26:17 +00:00
876ea69745 Ok, based on the online docs for AIX'es getservbyport_r() I adjusted to code
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-10-03 10:12:06 +00:00
209e8147a1 1 - attempted fix of uninitialized variable
2 - indented and edited to fit better within 80 columns
3 - fixed possible buffer overflow in the service name lookup function
2005-09-21 10:45:25 +00:00
6afd5c16d3 Added constants that will be used by ares_getaddrinfo. Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it isavailable to ensure it works properly in a threaded environment 2005-09-18 16:44:49 +00:00
209b6c1af7 More of the same 2005-05-17 04:20:58 +00:00
4ee0e56440 More compiler warning cleanups 2005-05-17 04:18:41 +00:00
ef16aa0669 Cleaned up some compile warnings 2005-05-16 19:14:25 +00:00
aba0b775ea Added ares_getnameinfo which mimics the getnameinfo API 2005-05-16 18:06:54 +00:00