aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
Diffstat (limited to 'ares')
-rw-r--r--ares/ares_gethostbyaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares/ares_gethostbyaddr.c b/ares/ares_gethostbyaddr.c
index 777d2f7a0..0faeaec2a 100644
--- a/ares/ares_gethostbyaddr.c
+++ b/ares/ares_gethostbyaddr.c
@@ -186,9 +186,9 @@ static int file_lookup(union ares_addr *addr, int family, struct hostent **host)
{
FILE *fp;
int status;
+ int error;
#ifdef WIN32
- int error;
char PATH_HOSTS[MAX_PATH];
if (IS_NT()) {
char tmp[MAX_PATH];