]> sjero.net Git - wget/commitdiff
[svn] Fix parsing alphanumerics in .wgetrc.
authorhniksic <devnull@localhost>
Tue, 28 Jun 2005 15:33:01 +0000 (08:33 -0700)
committerhniksic <devnull@localhost>
Tue, 28 Jun 2005 15:33:01 +0000 (08:33 -0700)
src/ChangeLog
src/init.c

index d3c81ba0c9296dee87f04bfe4e06089addcec6e3..2a34f9584b71aad1f5933c5aae9098f7dc65e643 100644 (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.
index db2d274233d9bb639c83ece523ecdc38091ab2c2..097a2bfc2f00637d904df1ad81eabe1d5780f28d 100644 (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;