aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 12:36:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-12-11 12:36:10 +0100
commita3aa3e309506ea96fa8f7546f6b22fa85263a934 (patch)
treecd6d4adeafec55e230e2d56499df8f0c3cbf47e1 /archival
parent4662de0511487b4da965c4b2158bae318f3d80a8 (diff)
downloadbusybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.gz
busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.bz2
busybox-w32-a3aa3e309506ea96fa8f7546f6b22fa85263a934.zip
wget: check for close success; fix chunked; do not bother to send QUIT to ftp
Also, random fixes to use %u for unsigned quantities. -14 bytes in wget. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r--archival/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/tar.c b/archival/tar.c
index c12331c83..d6c44a7b7 100644
--- a/archival/tar.c
+++ b/archival/tar.c
@@ -336,7 +336,7 @@ static int writeTarHeader(struct TarBallInfo *tbInfo,
336 && statbuf->st_size > (off_t)0777777777777LL 336 && statbuf->st_size > (off_t)0777777777777LL
337 ) { 337 ) {
338 bb_error_msg_and_die("can't store file '%s' " 338 bb_error_msg_and_die("can't store file '%s' "
339 "of size %"OFF_FMT"d, aborting", 339 "of size %"OFF_FMT"u, aborting",
340 fileName, statbuf->st_size); 340 fileName, statbuf->st_size);
341 } 341 }
342 header.typeflag = REGTYPE; 342 header.typeflag = REGTYPE;