diff options
Diffstat (limited to 'networking/nslookup.c')
-rw-r--r-- | networking/nslookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/nslookup.c b/networking/nslookup.c index fd241a5..3a614b0 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c @@ -712,11 +712,11 @@ static void add_query(int type, const char *dname) static char *make_ptr(const char *addrstr) { unsigned char addr[16]; - int i; #if ENABLE_FEATURE_IPV6 if (inet_pton(AF_INET6, addrstr, addr)) { if (memcmp(addr, v4_mapped, 12) != 0) { + int i; char resbuf[80]; char *ptr = resbuf; for (i = 0; i < 16; i++) { |