]> sjero.net Git - wget/blobdiff - src/init.c
[svn] Declare the pointers to literal strings as `const'.
[wget] / src / init.c
index 8624f128e17f987ef5a22e65e37f33532c733418..baafc09c7c68ab3b9ca0b37af746f78edcf54e38 100644 (file)
@@ -104,7 +104,7 @@ CMD_DECLARE (cmd_spec_useragent);
    cleanup() function below. */
 
 static struct {
-  char *name;
+  const char *name;
   void *closure;
   int (*action) PARAMS ((const char *, const char *, void *));
 } commands[] = {
@@ -181,6 +181,7 @@ static struct {
   { "postfile",                &opt.post_file_name,    cmd_file },
   { "preservepermissions", &opt.preserve_perm, cmd_boolean },
   { "progress",                &opt.progress_type,     cmd_spec_progress },
+  { "protocoldirectories", &opt.protocol_directories, cmd_boolean },
   { "proxypasswd",     &opt.proxy_passwd,      cmd_string },
   { "proxyuser",       &opt.proxy_user,        cmd_string },
   { "quiet",           &opt.quiet,             cmd_boolean },