curl-library
Re: yangtse: curl/lib easy.c,1.138,1.139
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sun, 17 May 2009 19:49:59 +0200 (CEST)
Date: Sun, 17 May 2009 19:49:59 +0200 (CEST)
On Sun, 17 May 2009, cvs_at_labb.contactor.se 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.seReceived on 2009-05-17