[or-cvs] r14215: Stop supporting anything besides CMD_RUN_TOR in ntmain.c. Ba (in tor/trunk: . src/or)

nickm at seul.org nickm at seul.org
Thu Mar 27 16:46:37 UTC 2008


Author: nickm
Date: 2008-03-27 12:46:36 -0400 (Thu, 27 Mar 2008)
New Revision: 14215

Modified:
   tor/trunk/
   tor/trunk/src/or/ntmain.c
Log:
 r19092 at 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.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r19092] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/src/or/ntmain.c
===================================================================
--- tor/trunk/src/or/ntmain.c	2008-03-27 16:46:34 UTC (rev 14214)
+++ tor/trunk/src/or/ntmain.c	2008-03-27 16:46:36 UTC (rev 14215)
@@ -301,13 +301,10 @@
         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:



More information about the tor-commits mailing list