summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-06-17 11:31:53 -0400
committerNick Mathewson <nickm@torproject.org>2015-06-17 11:31:53 -0400
commitd3b4214c6e45b9fd8ba147c2167208adc32180b4 (patch)
tree49fe27fb6b6f5927180a9ca7d7221bb5499af92b /src
parentbe32777aa5708a26e6d8c63baef7dd0071a5e8e6 (diff)
downloadtor-d3b4214c6e45b9fd8ba147c2167208adc32180b4.tar.gz
tor-d3b4214c6e45b9fd8ba147c2167208adc32180b4.zip
Fix an unchecked-case warning on windows
Diffstat (limited to 'src')
-rw-r--r--src/or/ntmain.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c
index 833d870041..89e26c426c 100644
--- a/src/or/ntmain.c
+++ b/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: