aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-17 09:33:22 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-17 09:33:22 +0000
commita492c4e50b4843c470aa870cf804da999ea07684 (patch)
tree24dfe578a9307c43b1e6fcda5053350b6c064979 /libbb
parent236db0705323d213e53d29d7e67308ebbb4d3c61 (diff)
downloadbusybox-w32-a492c4e50b4843c470aa870cf804da999ea07684.tar.gz
busybox-w32-a492c4e50b4843c470aa870cf804da999ea07684.tar.bz2
busybox-w32-a492c4e50b4843c470aa870cf804da999ea07684.zip
type typo. Thanks, Devin Bayer
git-svn-id: svn://busybox.net/trunk/busybox@14091 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 1e5799e51..ec99c5882 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -62,7 +62,7 @@ void bb_lookup_host(struct sockaddr_in *s_in, const char *host)
62int xconnect(struct sockaddr_in *s_addr) 62int xconnect(struct sockaddr_in *s_addr)
63{ 63{
64 int s = socket(AF_INET, SOCK_STREAM, 0); 64 int s = socket(AF_INET, SOCK_STREAM, 0);
65 if (connect(s, (struct sockaddr_in *)s_addr, sizeof(struct sockaddr_in)) < 0) 65 if (connect(s, (struct sockaddr *)s_addr, sizeof(struct sockaddr_in)) < 0)
66 { 66 {
67 if (ENABLE_FEATURE_CLEAN_UP) close(s); 67 if (ENABLE_FEATURE_CLEAN_UP) close(s);
68 bb_perror_msg_and_die("Unable to connect to remote host (%s)", 68 bb_perror_msg_and_die("Unable to connect to remote host (%s)",