small ipv6 doc changes; nslookup a tiny bit smaller
diff --git a/networking/nc.c b/networking/nc.c
index a940d8a..2f8a36b 100644
--- a/networking/nc.c
+++ b/networking/nc.c
@@ -25,7 +25,6 @@
SKIP_NC_EXTRA (const int execparam = 0;)
USE_NC_EXTRA (char **execparam = NULL;)
struct sockaddr_in address;
- struct hostent *hostinfo;
fd_set readfds, testfds;
int opt; /* must be signed (getopt returns -1) */
@@ -116,6 +115,7 @@
if (!execparam) close(sfd);
} else {
+ struct hostent *hostinfo;
hostinfo = xgethostbyname(argv[0]);
address.sin_addr = *(struct in_addr *) *hostinfo->h_addr_list;