On Sun, 17 May 2009, [email protected] wrote:
+#if defined(USE_ARES) && defined(ARES_VERSION) && (ARES_VERSION >= 0x010601)
May I suggest a single point of code that says something like: #if defined(USE_ARES) && defined(ARES_VERSION) && (ARES_VERSION >= 0x010601) #define HAVE_ARES_LIB_INIT #endif Just to simplify the two places in the code where this is checked?
+ If(ares_library_init(ARES_LIB_INIT_ALL)) {
My guess is this doesn't work as intended! ;-) (If vs if) -- / daniel.haxx.se
