aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-23 17:49:09 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-09-23 17:49:09 +0000
commit78f3507bbcbe62b945fbf00b25de8a6fe89d0676 (patch)
treef84d358b4a6f174f8ee891203d9da39f0eea50b4 /libbb
parent88ba7a23ca4391bfed24e27a9538104996ce0241 (diff)
downloadbusybox-w32-78f3507bbcbe62b945fbf00b25de8a6fe89d0676.tar.gz
busybox-w32-78f3507bbcbe62b945fbf00b25de8a6fe89d0676.tar.bz2
busybox-w32-78f3507bbcbe62b945fbf00b25de8a6fe89d0676.zip
wget: fix bug where wget creates null file if there is no remote one.
add O_LARGEFILE support (not run tested :). git-svn-id: svn://busybox.net/trunk/busybox@16208 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 ce1081d59..f88136a1a 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -55,7 +55,7 @@ int xconnect(struct sockaddr_in *s_addr)
55 if (connect(s, (struct sockaddr *)s_addr, sizeof(struct sockaddr_in)) < 0) 55 if (connect(s, (struct sockaddr *)s_addr, sizeof(struct sockaddr_in)) < 0)
56 { 56 {
57 if (ENABLE_FEATURE_CLEAN_UP) close(s); 57 if (ENABLE_FEATURE_CLEAN_UP) close(s);
58 bb_perror_msg_and_die("Unable to connect to remote host (%s)", 58 bb_perror_msg_and_die("unable to connect to remote host (%s)",
59 inet_ntoa(s_addr->sin_addr)); 59 inet_ntoa(s_addr->sin_addr));
60 } 60 }
61 return s; 61 return s;