mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Fix issue when converting string to uppercase
This commit is contained in:
parent
52dd6da6e0
commit
277785fa2a
@ -1,3 +1,8 @@
|
|||||||
|
2013-05-04 Darshit Shah <darnir@gmail.com>
|
||||||
|
|
||||||
|
* init.c (cmd_string_uppercase): Fix issue that cased invalid headers
|
||||||
|
when converting to uppercase.
|
||||||
|
|
||||||
2013-05-01 Gijs van Tulder <gvtulder@gmail.com>
|
2013-05-01 Gijs van Tulder <gvtulder@gmail.com>
|
||||||
|
|
||||||
* retr.c (retrieve_url): New variable `saved_method'.
|
* retr.c (retrieve_url): New variable `saved_method'.
|
||||||
|
@ -970,8 +970,8 @@ cmd_string_uppercase (const char *com, const char *val, void *place)
|
|||||||
if (!ret || q == NULL)
|
if (!ret || q == NULL)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
while (*q)
|
for ( ;*q; *q++)
|
||||||
*q++ = c_toupper (*q);
|
*q = c_toupper (*q);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user