mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-21 13:34:59 +02:00
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:
parent
12b217bce8
commit
4e6b6e3ad7
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user