diff options
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 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, } if (do_continue) { - sprintf(buf, "REST %"OFF_FMT, beg_range); + sprintf(buf, "REST %"OFF_FMT"d", beg_range); if (ftpcmd(buf, NULL, control_stream, buf) != 350) { do_continue = 0; } else { |