Re: Ares: socklen_t problem

2013-02-19 Thread Yang Tse
On Mon, Feb 18, Tor Arntsen t...@spacetec.no wrote: c-ares commit cf7ad9758dd792 includes the following change to ares.h: +CARES_EXTERN const char *ares_inet_ntop(int af, const void *src, char *dst, +socklen_t size); socklen_t in a public header file

Re: Ares: socklen_t problem

2013-02-19 Thread Daniel Stenberg
On Tue, 19 Feb 2013, Yang Tse wrote: socklen_t in a public header file is potentially problematic.. there used to be one in curl/curl.h until 7.18 I think, but it got too troublesome to maintain so it got removed. When it was mentioned if ares_inet_ntop and ares_inet_ntop were to become