summaryrefslogtreecommitdiff
path: root/ares_gethostbyaddr.c
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
commit45b2661a5a8f078ee642c4db8c8f6d4812cc98c7 (patch)
tree50646abdb9d55d93e4c276c065cd0d29824eb463 /ares_gethostbyaddr.c
parent675bdce3b2e8e94db23c40b71ee4468ca94b1c69 (diff)
downloadc-ares-45b2661a5a8f078ee642c4db8c8f6d4812cc98c7.tar.gz
c-ares-45b2661a5a8f078ee642c4db8c8f6d4812cc98c7.tar.bz2
c-ares-45b2661a5a8f078ee642c4db8c8f6d4812cc98c7.zip
compiler warning fix
Diffstat (limited to 'ares_gethostbyaddr.c')
-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];