diff options
author | Denis Vlasenko | 2006-10-28 12:37:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-10-28 12:37:16 +0000 |
commit | 5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf (patch) | |
tree | 8fa1fa4abeb29eb5ca5829a084a07fae55bc679b /networking/wget.c | |
parent | 8c35d65c43216bb840326ac7476a180e2ae36fe9 (diff) | |
download | busybox-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.zip busybox-5c7596058dedb99ab0fbe773cc7ac61a2ffe9fbf.tar.gz |
ls: cleanup part 1
Diffstat (limited to 'networking/wget.c')
-rw-r--r-- | networking/wget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/wget.c b/networking/wget.c index c163209..8850fdf 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -286,7 +286,7 @@ int wget_main(int argc, char **argv) #endif if (beg_range) - fprintf(sfp, "Range: bytes="OFF_FMT"-\r\n", beg_range); + fprintf(sfp, "Range: bytes=%"OFF_FMT"-\r\n", beg_range); #if ENABLE_FEATURE_WGET_LONG_OPTIONS if (extra_headers) fputs(extra_headers, sfp); @@ -427,7 +427,7 @@ int wget_main(int argc, char **argv) dfp = open_socket(&s_in); if (beg_range) { - sprintf(buf, "REST "OFF_FMT, beg_range); + sprintf(buf, "REST %"OFF_FMT, beg_range); if (ftpcmd(buf, NULL, sfp, buf) == 350) content_len -= beg_range; } |