diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-24 14:06:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-24 14:06:04 +0100 |
commit | 75b739767576048ac7bc89c185ee3ee1c27b895a (patch) | |
tree | d3438792607882c465015c96645f8109d9e93e05 | |
parent | 363e89b1ee7a70e1328370e7c0db2852d06c15bf (diff) | |
download | busybox-w32-75b739767576048ac7bc89c185ee3ee1c27b895a.tar.gz busybox-w32-75b739767576048ac7bc89c185ee3ee1c27b895a.tar.bz2 busybox-w32-75b739767576048ac7bc89c185ee3ee1c27b895a.zip |
fix trivial compile breakage
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | libbb/xconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
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;) | |||
223 | } | 223 | } |
224 | 224 | ||
225 | /* Next two if blocks allow to skip getaddrinfo() | 225 | /* Next two if blocks allow to skip getaddrinfo() |
226 | * in case host is a numeric IP(v6) address, | 226 | * in case host name is a numeric IP(v6) address. |
227 | * getaddrinfo() initializes DNS resolution machinery, | 227 | * getaddrinfo() initializes DNS resolution machinery, |
228 | * scans network config and such - tens of syscalls. | 228 | * scans network config and such - tens of syscalls. |
229 | */ | 229 | */ |
@@ -283,7 +283,7 @@ IF_NOT_FEATURE_IPV6(sa_family_t af = AF_INET;) | |||
283 | r->len = used_res->ai_addrlen; | 283 | r->len = used_res->ai_addrlen; |
284 | memcpy(&r->u.sa, used_res->ai_addr, used_res->ai_addrlen); | 284 | memcpy(&r->u.sa, used_res->ai_addr, used_res->ai_addrlen); |
285 | 285 | ||
286 | IF_FEATURE_IPV6(set_port:) | 286 | set_port: |
287 | set_nport(r, htons(port)); | 287 | set_nport(r, htons(port)); |
288 | ret: | 288 | ret: |
289 | freeaddrinfo(result); | 289 | freeaddrinfo(result); |