mirror of
https://github.com/sheumann/hush.git
synced 2024-12-28 07:30:23 +00:00
Suggestion from Larry: no format string, use fputs instead.
This commit is contained in:
parent
50ae3102fb
commit
9abfe85e96
@ -325,7 +325,7 @@ int wget_main(int argc, char **argv)
|
|||||||
if (do_continue)
|
if (do_continue)
|
||||||
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
|
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
|
||||||
if(extra_headers_left < sizeof(extra_headers))
|
if(extra_headers_left < sizeof(extra_headers))
|
||||||
fprintf(sfp,extra_headers);
|
fputs(extra_headers,sfp);
|
||||||
fprintf(sfp,"Connection: close\r\n\r\n");
|
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
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
4
wget.c
4
wget.c
@ -325,7 +325,7 @@ int wget_main(int argc, char **argv)
|
|||||||
if (do_continue)
|
if (do_continue)
|
||||||
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
|
fprintf(sfp, "Range: bytes=%ld-\r\n", beg_range);
|
||||||
if(extra_headers_left < sizeof(extra_headers))
|
if(extra_headers_left < sizeof(extra_headers))
|
||||||
fprintf(sfp,extra_headers);
|
fputs(extra_headers,sfp);
|
||||||
fprintf(sfp,"Connection: close\r\n\r\n");
|
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
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* 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 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user