mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix parsing alphanumerics in .wgetrc.
This commit is contained in:
parent
04ddc27bb8
commit
9d137e9b84
@ -1,3 +1,7 @@
|
|||||||
|
2005-06-28 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
|
* init.c (parse_line): Check for alphanumerics.
|
||||||
|
|
||||||
2005-06-28 Hrvoje Niksic <hniksic@xemacs.org>
|
2005-06-28 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* progress.c (print_percentage): Round the percentage value.
|
* progress.c (print_percentage): Round the percentage value.
|
||||||
|
@ -562,7 +562,7 @@ parse_line (const char *line, char **com, char **val, int *comind)
|
|||||||
p = line;
|
p = line;
|
||||||
|
|
||||||
cmdstart = p;
|
cmdstart = p;
|
||||||
while (p < end && (ISALPHA (*p) || *p == '_' || *p == '-'))
|
while (p < end && (ISALNUM (*p) || *p == '_' || *p == '-'))
|
||||||
++p;
|
++p;
|
||||||
cmdend = p;
|
cmdend = p;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user