1
0
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:
hniksic 2005-06-28 08:33:01 -07:00
parent 04ddc27bb8
commit 9d137e9b84
2 changed files with 5 additions and 1 deletions

View File

@ -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>
* progress.c (print_percentage): Round the percentage value.

View File

@ -562,7 +562,7 @@ parse_line (const char *line, char **com, char **val, int *comind)
p = line;
cmdstart = p;
while (p < end && (ISALPHA (*p) || *p == '_' || *p == '-'))
while (p < end && (ISALNUM (*p) || *p == '_' || *p == '-'))
++p;
cmdend = p;