diff options
author | Denys Vlasenko | 2009-12-11 12:36:10 +0100 |
---|---|---|
committer | Denys Vlasenko | 2009-12-11 12:36:10 +0100 |
commit | a3aa3e309506ea96fa8f7546f6b22fa85263a934 (patch) | |
tree | cd6d4adeafec55e230e2d56499df8f0c3cbf47e1 /networking/ftpgetput.c | |
parent | 4662de0511487b4da965c4b2158bae318f3d80a8 (diff) | |
download | busybox-a3aa3e309506ea96fa8f7546f6b22fa85263a934.zip busybox-a3aa3e309506ea96fa8f7546f6b22fa85263a934.tar.gz |
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 'networking/ftpgetput.c')
-rw-r--r-- | networking/ftpgetput.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index c0ecdda..2dd7e92 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c @@ -212,7 +212,7 @@ int ftp_receive(const char *local_path, char *server_path) } if (do_continue) { - sprintf(buf, "REST %"OFF_FMT"d", beg_range); + sprintf(buf, "REST %"OFF_FMT"u", beg_range); if (ftpcmd(buf, NULL) != 350) { do_continue = 0; } |