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:
b267f13
)
type typo. Thanks, Devin Bayer
author
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Fri, 17 Feb 2006 09:33:22 +0000
(09:33 -0000)
committer
"Vladimir N. Oleynik"
<dzo@simtreas.ru>
Fri, 17 Feb 2006 09:33:22 +0000
(09:33 -0000)
libbb/xconnect.c
patch
|
blob
|
history
diff --git
a/libbb/xconnect.c
b/libbb/xconnect.c
index 1e5799e516c53ef84a5ced00878ff7d57542fe4c..ec99c58829db8c980a665898037fa1c2e56475b9 100644
(file)
--- a/
libbb/xconnect.c
+++ b/
libbb/xconnect.c
@@
-62,7
+62,7
@@
void bb_lookup_host(struct sockaddr_in *s_in, const char *host)
int xconnect(struct sockaddr_in *s_addr)
{
int s = socket(AF_INET, SOCK_STREAM, 0);
- if (connect(s, (struct sockaddr
_in
*)s_addr, sizeof(struct sockaddr_in)) < 0)
+ if (connect(s, (struct sockaddr *)s_addr, sizeof(struct sockaddr_in)) < 0)
{
if (ENABLE_FEATURE_CLEAN_UP) close(s);
bb_perror_msg_and_die("Unable to connect to remote host (%s)",