Fix inet4_only=yes in .wgetrc

Hrvoje Niksic <[email protected]> Tue, 28 Jun 2005 17:32:47 +0200
Newsgroups gmane.comp.web.wget.patches
Message-ID <[email protected]>
2005-06-28  Hrvoje Niksic  <[email protected]>

	* init.c (parse_line): Check for alphanumerics.

Index: init.c
===================================================================
--- init.c	(revision 1877)
+++ init.c	(working copy)
@@ -562,7 +562,7 @@
   p = line;
 
   cmdstart = p;
-  while (p < end && (ISALPHA (*p) || *p == '_' || *p == '-'))
+  while (p < end && (ISALNUM (*p) || *p == '_' || *p == '-'))
     ++p;
   cmdend = p;