From: Denys Vlasenko Date: Tue, 24 Nov 2009 13:06:04 +0000 (+0100) Subject: fix trivial compile breakage X-Git-Tag: 1_16_0~203 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=75b739767576048ac7bc89c185ee3ee1c27b895a;p=oweals%2Fbusybox.git fix trivial compile breakage Signed-off-by: Denys Vlasenko --- diff --git a/libbb/xconnect.c b/libbb/xconnect.c index 81a2b048f..b6848ea6f 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);