From a94554d010844e17ecf674fe738679f09cbc6c21 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 23 Sep 2006 17:49:09 +0000 Subject: wget: fix bug where wget creates null file if there is no remote one. add O_LARGEFILE support (not run tested :). --- libbb/xconnect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb') 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; -- cgit v1.1