1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix C89 issue in http.c found by MSVC 16

This commit is contained in:
Gisle Vanem 2014-11-20 16:20:20 +01:00 committed by Tim Rühsen
parent 40f3613b67
commit 6a9b2d36e1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-11-20 Gisle Vanem <gvanem@yahoo.no>
* http.c (parse_content_disposition): Fix C89 issue found by MSVC 16
2014-11-19 Darshit Shah <darnir@gmail.com>
* progress.c (create_image): Do not scroll filename if amount of scrolling

View File

@ -1191,8 +1191,9 @@ static bool
parse_content_disposition (const char *hdr, char **filename)
{
param_token name, value;
*filename = NULL;
bool is_url_encoded = false;
*filename = NULL;
for ( ; extract_param (&hdr, &name, &value, ';', &is_url_encoded);
is_url_encoded = false)
{