diff options
-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 fd241a5ca..3a614b0c6 100644 --- a/networking/nslookup.c +++ b/networking/nslookup.c | |||
@@ -712,11 +712,11 @@ static void add_query(int type, const char *dname) | |||
712 | static char *make_ptr(const char *addrstr) | 712 | static char *make_ptr(const char *addrstr) |
713 | { | 713 | { |
714 | unsigned char addr[16]; | 714 | unsigned char addr[16]; |
715 | int i; | ||
716 | 715 | ||
717 | #if ENABLE_FEATURE_IPV6 | 716 | #if ENABLE_FEATURE_IPV6 |
718 | if (inet_pton(AF_INET6, addrstr, addr)) { | 717 | if (inet_pton(AF_INET6, addrstr, addr)) { |
719 | if (memcmp(addr, v4_mapped, 12) != 0) { | 718 | if (memcmp(addr, v4_mapped, 12) != 0) { |
719 | int i; | ||
720 | char resbuf[80]; | 720 | char resbuf[80]; |
721 | char *ptr = resbuf; | 721 | char *ptr = resbuf; |
722 | for (i = 0; i < 16; i++) { | 722 | for (i = 0; i < 16; i++) { |