mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-12-07 03:12:37 +00:00
add debug messages for initialization failures
This commit is contained in:
@ -224,6 +224,7 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host)
|
||||
switch(error)
|
||||
{
|
||||
case ENOENT:
|
||||
case ESRCH:
|
||||
return ARES_ENOTFOUND;
|
||||
default:
|
||||
DEBUGF(fprintf(stderr, "fopen() failed with error: %d %s\n",
|
||||
|
||||
Reference in New Issue
Block a user