mirror of
https://frontier.innolan.net/rainlance/c-ares.git
synced 2025-10-06 04:49:41 +00:00
ares_getnameinfo: Partially revert commit 85520d66e0
Upon socket address family and length validation failure return ARES_ENOTIMP in callback again, this is the error code documented in man page and used mostly all over the library.
This commit is contained in:
@ -114,7 +114,7 @@ void ares_getnameinfo(ares_channel channel, const struct sockaddr *sa,
|
||||
}
|
||||
else
|
||||
{
|
||||
callback(arg, ARES_EBADFAMILY, 0, NULL, NULL);
|
||||
callback(arg, ARES_ENOTIMP, 0, NULL, NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user