summaryrefslogtreecommitdiff
path: root/ares_search.c
diff options
context:
space:
mode:
Diffstat (limited to 'ares_search.c')
-rw-r--r--ares_search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_search.c b/ares_search.c
index 9face5f..1877c19 100644
--- a/ares_search.c
+++ b/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: