]> sjero.net Git - wget/blobdiff - src/init.c
[svn] Introduce non-strict comment parsing.
[wget] / src / init.c
index e3040c687c965fdab42a78578032d6d4b6aafa7e..9ce9b1662a8414601425fa65b4fca94b758387bd 100644 (file)
@@ -207,6 +207,7 @@ static struct {
   { "sslcheckcert",    &opt.sslcheckcert,      cmd_number },
   { "sslprotocol",     &opt.sslprotocol,       cmd_number },
 #endif /* HAVE_SSL */
+  { "strictcomments",  &opt.strict_comments,   cmd_boolean },
   { "timeout",         &opt.timeout,           cmd_time },
   { "timestamping",    &opt.timestamping,      cmd_boolean },
   { "tries",           &opt.ntry,              cmd_number_inf },
@@ -1092,8 +1093,6 @@ myatoi (const char *s)
     return res;
 }
 
-#define ISODIGIT(x) ((x) >= '0' && (x) <= '7')
-
 static int
 check_user_specified_header (const char *s)
 {