Subject: Re: adig.c calls perror()

Re: adig.c calls perror()

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 14 Aug 2012 23:20:06 +0200 (CEST)

On Fri, 10 Aug 2012, Gisle Vanem wrote:

> adig.c calls perror() when select() fail. This doesn't work on Winsock;
> perror() prints errno string, not WSAGetLastError(). So I suggest we add a
> new ares_perror() function to ares_strerror.c:

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?

Are there others in favor of adding this function?

-- 
  / daniel.haxx.se
Received on 2012-08-14