diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:46:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-03-27 16:46:36 +0000 |
commit | 4e6b6e3ad797598ce5e3469029d128a85e68fff0 (patch) | |
tree | 450075ab07b7df698061c616e912703c8c269f1b /src/or/ntmain.c | |
parent | 12b217bce8ff4de74c0295470247e4e9d1b15931 (diff) | |
download | tor-4e6b6e3ad797598ce5e3469029d128a85e68fff0.tar.gz tor-4e6b6e3ad797598ce5e3469029d128a85e68fff0.zip |
r19092@catbus: nickm | 2008-03-27 12:43:29 -0400
Stop supporting anything besides CMD_RUN_TOR in ntmain.c. Based on patch from Sebastian Hahn.
svn:r14215
Diffstat (limited to 'src/or/ntmain.c')
-rw-r--r-- | src/or/ntmain.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/or/ntmain.c b/src/or/ntmain.c index 06d0af4e00..efc2a6069c 100644 --- a/src/or/ntmain.c +++ b/src/or/ntmain.c @@ -301,13 +301,10 @@ nt_service_main(void) do_main_loop(); break; case CMD_LIST_FINGERPRINT: - do_list_fingerprint(); - break; case CMD_HASH_PASSWORD: - do_hash_password(); - break; case CMD_VERIFY_CONFIG: - printf("Configuration was valid\n"); + log_err(LD_CONFIG, "Unsupported command (--list-fingerint, " + "--hash-password, or --verify-config) in NT service."); break; case CMD_RUN_UNITTESTS: default: |