summaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
authorDenis Vlasenko2006-09-23 17:49:09 +0000
committerDenis Vlasenko2006-09-23 17:49:09 +0000
commita94554d010844e17ecf674fe738679f09cbc6c21 (patch)
treef84d358b4a6f174f8ee891203d9da39f0eea50b4 /libbb/xconnect.c
parent01a74f96492e9e9995b7fcb54013d00a840a3d5f (diff)
downloadbusybox-a94554d010844e17ecf674fe738679f09cbc6c21.zip
busybox-a94554d010844e17ecf674fe738679f09cbc6c21.tar.gz
wget: fix bug where wget creates null file if there is no remote one.
add O_LARGEFILE support (not run tested :).
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index ce1081d..f88136a 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -55,7 +55,7 @@ int xconnect(struct sockaddr_in *s_addr)
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)",
+ bb_perror_msg_and_die("unable to connect to remote host (%s)",
inet_ntoa(s_addr->sin_addr));
}
return s;