summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-24 14:06:04 +0100
committerDenys Vlasenko2009-11-24 14:06:04 +0100
commit75b739767576048ac7bc89c185ee3ee1c27b895a (patch)
treed3438792607882c465015c96645f8109d9e93e05
parent363e89b1ee7a70e1328370e7c0db2852d06c15bf (diff)
downloadbusybox-75b739767576048ac7bc89c185ee3ee1c27b895a.zip
busybox-75b739767576048ac7bc89c185ee3ee1c27b895a.tar.gz
fix trivial compile breakage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/xconnect.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 81a2b04..b6848ea 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -223,7 +223,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
}
/* Next two if blocks allow to skip getaddrinfo()
- * in case host is a numeric IP(v6) address,
+ * in case host name is a numeric IP(v6) address.
* getaddrinfo() initializes DNS resolution machinery,
* scans network config and such - tens of syscalls.
*/
@@ -283,7 +283,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;)
r->len = used_res->ai_addrlen;
memcpy(&r->u.sa, used_res->ai_addr, used_res->ai_addrlen);
- IF_FEATURE_IPV6(set_port:)
+ set_port:
set_nport(r, htons(port));
ret:
freeaddrinfo(result);