Browse Source

Fix an unchecked-case warning on windows

Nick Mathewson 9 years ago
parent
commit
d3b4214c6e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/or/ntmain.c

+ 3 - 1
src/or/ntmain.c

@@ -315,8 +315,10 @@ nt_service_main(void)
       case CMD_HASH_PASSWORD:
       case CMD_VERIFY_CONFIG:
       case CMD_DUMP_CONFIG:
+      case CMD_KEYGEN:
         log_err(LD_CONFIG, "Unsupported command (--list-fingerprint, "
-                "--hash-password, or --verify-config) in NT service.");
+                "--hash-password, --keygen, --dump-config, or --verify-config) "
+                "in NT service.");
         break;
       case CMD_RUN_UNITTESTS:
       default: