Skip to content
Browse files

ares_search: use ERRNO macro for portability sake

  • Loading branch information...
1 parent 9099a9e commit c7ce7c7d4597300e7ee4079192da3c02d567223f @yangtse yangtse committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 ares_search.c
View
2 ares_search.c
@@ -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:

0 comments on commit c7ce7c7

Please sign in to comment.
Something went wrong with that request. Please try again.