"Daniel Stenberg" <daniel_at_haxx.se> wrote:
> Do we really need that function as part of the c-ares API? I realize that
> example is wrong, but is that reason enough to introduce a new function?
We could probably just drop perror() in adig.c. And just print
the error number from SOCKERRNO. Otherwise (to be complete)
we should get the correct text like get_winsock_error() does
for libcurl. Maybe it's too much work, but it would be nice to
copy/edit curl_strerror.c to ares_strerror.c.
--gv
Received on 2012-08-15