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
This commit is contained in:
Nick Mathewson 2008-03-27 16:46:36 +00:00
parent 12b217bce8
commit 4e6b6e3ad7

View File

@ -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: