summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2001-05-15 20:11:49 +0000
committerEric Andersen2001-05-15 20:11:49 +0000
commit9abfe85e969e535dca385df3802ed76a44d977a2 (patch)
tree525500878635873273ec7afa2d010fc85a71c433
parent50ae3102fb2b7fa718d2977d9fe81bae8bdbca4d (diff)
downloadbusybox-9abfe85e969e535dca385df3802ed76a44d977a2.zip
busybox-9abfe85e969e535dca385df3802ed76a44d977a2.tar.gz
Suggestion from Larry: no format string, use fputs instead.
-rw-r--r--networking/wget.c4
-rw-r--r--wget.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/networking/wget.c b/networking/wget.c
index e561ae2..5fa918a 100644
--- a/networking/wget.c
+++ b/networking/wget.c
@@ -325,7 +325,7 @@ int wget_main(int argc, char **argv)
if (do_continue)
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
if(extra_headers_left < sizeof(extra_headers))
- fprintf(sfp,extra_headers);
+ fputs(extra_headers,sfp);
fprintf(sfp,"Connection: close\r\n\r\n");
/*
@@ -813,7 +813,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.39 2001/05/15 17:51:37 andersen Exp $
+ * $Id: wget.c,v 1.40 2001/05/15 20:11:49 andersen Exp $
*/
diff --git a/wget.c b/wget.c
index e561ae2..5fa918a 100644
--- a/wget.c
+++ b/wget.c
@@ -325,7 +325,7 @@ int wget_main(int argc, char **argv)
if (do_continue)
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
if(extra_headers_left < sizeof(extra_headers))
- fprintf(sfp,extra_headers);
+ fputs(extra_headers,sfp);
fprintf(sfp,"Connection: close\r\n\r\n");
/*
@@ -813,7 +813,7 @@ progressmeter(int flag)
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: wget.c,v 1.39 2001/05/15 17:51:37 andersen Exp $
+ * $Id: wget.c,v 1.40 2001/05/15 20:11:49 andersen Exp $
*/