summaryrefslogtreecommitdiff
path: root/networking/ftpgetput.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-11-24 14:53:18 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-11-24 14:53:18 +0000
commitcf30cc82a343802b601f01ae153916887f11eb7b (patch)
treedd5af380364efe67c7bd302d6c1c6d70f303f959 /networking/ftpgetput.c
parent376ce1e775a97a01f1c454497fbe34d326043328 (diff)
downloadbusybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.tar.gz
busybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.tar.bz2
busybox-w32-cf30cc82a343802b601f01ae153916887f11eb7b.zip
header_verbose_list: stop truncating file size in listing
Diffstat (limited to 'networking/ftpgetput.c')
-rw-r--r--networking/ftpgetput.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c
index 739a44155..a842401c0 100644
--- a/networking/ftpgetput.c
+++ b/networking/ftpgetput.c
@@ -149,7 +149,7 @@ int ftp_receive(ftp_host_info_t *server, FILE *control_stream,
149 } 149 }
150 150
151 if (do_continue) { 151 if (do_continue) {
152 sprintf(buf, "REST %"OFF_FMT, beg_range); 152 sprintf(buf, "REST %"OFF_FMT"d", beg_range);
153 if (ftpcmd(buf, NULL, control_stream, buf) != 350) { 153 if (ftpcmd(buf, NULL, control_stream, buf) != 350) {
154 do_continue = 0; 154 do_continue = 0;
155 } else { 155 } else {