1
0
mirror of https://frontier.innolan.net/rainlance/c-ares.git synced 2025-10-05 10:20:33 +00:00

ares_search: use ERRNO macro for portability sake

This commit is contained in:
Yang Tse
2011-03-22 20:50:42 +01:00
parent 9099a9eb0c
commit c7ce7c7d45

View File

@ -291,7 +291,7 @@ static int single_domain(ares_channel channel, const char *name, char **s)
}
else
{
error = errno;
error = ERRNO;
switch(error)
{
case ENOENT: