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:
parent
40f3613b67
commit
6a9b2d36e1
@ -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>
|
2014-11-19 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
* progress.c (create_image): Do not scroll filename if amount of scrolling
|
* progress.c (create_image): Do not scroll filename if amount of scrolling
|
||||||
|
@ -1191,8 +1191,9 @@ static bool
|
|||||||
parse_content_disposition (const char *hdr, char **filename)
|
parse_content_disposition (const char *hdr, char **filename)
|
||||||
{
|
{
|
||||||
param_token name, value;
|
param_token name, value;
|
||||||
*filename = NULL;
|
|
||||||
bool is_url_encoded = false;
|
bool is_url_encoded = false;
|
||||||
|
|
||||||
|
*filename = NULL;
|
||||||
for ( ; extract_param (&hdr, &name, &value, ';', &is_url_encoded);
|
for ( ; extract_param (&hdr, &name, &value, ';', &is_url_encoded);
|
||||||
is_url_encoded = false)
|
is_url_encoded = false)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user