aboutsummaryrefslogtreecommitdiff
path: root/ares
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2007-02-17 11:59:08 +0000
committerYang Tse <yangsita@gmail.com>2007-02-17 11:59:08 +0000
commitb54a8531a9dd023d87d5f855718d904cf74071e2 (patch)
treec4c632093de5f2465a2c3c3ed185ee40c2eadbb6 /ares
parent789fd0b74aa9170124ab8604d7dfbf39fa589e7a (diff)
compiler warning fix
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];