Subject: Re: adig.c calls perror()

Re: adig.c calls perror()

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

On Wed, 15 Aug 2012, Gisle Vanem 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.

I quite agree. Care to provide a patch?

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