summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ares_gethostbyaddr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ares_gethostbyaddr.c b/ares_gethostbyaddr.c
index 777d2f7..0faeaec 100644
--- a/ares_gethostbyaddr.c
+++ b/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];