projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
363e89b
)
fix trivial compile breakage
author
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 24 Nov 2009 13:06:04 +0000
(14:06 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Tue, 24 Nov 2009 13:06:04 +0000
(14:06 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/xconnect.c
patch
|
blob
|
history
diff --git
a/libbb/xconnect.c
b/libbb/xconnect.c
index 81a2b048fa23ce645017c900aa906c1f663815a9..b6848ea6f5ab14b6bfffcba70eadf534f6d31484 100644
(file)
--- 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);