diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-05-15 20:11:49 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-05-15 20:11:49 +0000 |
commit | 9abfe85e969e535dca385df3802ed76a44d977a2 (patch) | |
tree | 525500878635873273ec7afa2d010fc85a71c433 /networking/wget.c | |
parent | 50ae3102fb2b7fa718d2977d9fe81bae8bdbca4d (diff) | |
download | busybox-w32-9abfe85e969e535dca385df3802ed76a44d977a2.tar.gz busybox-w32-9abfe85e969e535dca385df3802ed76a44d977a2.tar.bz2 busybox-w32-9abfe85e969e535dca385df3802ed76a44d977a2.zip |
Suggestion from Larry: no format string, use fputs instead.
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 e561ae287..5fa918a19 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -325,7 +325,7 @@ int wget_main(int argc, char **argv) | |||
325 | if (do_continue) | 325 | if (do_continue) |
326 | fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range); | 326 | fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range); |
327 | if(extra_headers_left < sizeof(extra_headers)) | 327 | if(extra_headers_left < sizeof(extra_headers)) |
328 | fprintf(sfp,extra_headers); | 328 | fputs(extra_headers,sfp); |
329 | fprintf(sfp,"Connection: close\r\n\r\n"); | 329 | fprintf(sfp,"Connection: close\r\n\r\n"); |
330 | 330 | ||
331 | /* | 331 | /* |
@@ -813,7 +813,7 @@ progressmeter(int flag) | |||
813 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 813 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
814 | * SUCH DAMAGE. | 814 | * SUCH DAMAGE. |
815 | * | 815 | * |
816 | * $Id: wget.c,v 1.39 2001/05/15 17:51:37 andersen Exp $ | 816 | * $Id: wget.c,v 1.40 2001/05/15 20:11:49 andersen Exp $ |
817 | */ | 817 | */ |
818 | 818 | ||
819 | 819 | ||