[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] make tor --verify-config closer to working



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	config.c 
Log Message:
make tor --verify-config closer to working


Index: config.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/config.c,v
retrieving revision 1.524
retrieving revision 1.525
diff -u -p -d -r1.524 -r1.525
--- config.c	11 Mar 2006 18:40:33 -0000	1.524
+++ config.c	12 Mar 2006 20:46:00 -0000	1.525
@@ -851,7 +851,8 @@ config_get_commandlines(int argc, char *
         !strcmp(argv[i],"--hash-password")) {
       i += 2; /* command-line option with argument. ignore them. */
       continue;
-    } else if (!strcmp(argv[i],"--list-fingerprint")) {
+    } else if (!strcmp(argv[i],"--list-fingerprint") ||
+               !strcmp(argv[i],"--verify-config")) {
       i += 1; /* command-line option. ignore it. */
       continue;
     } else if (!strcmp(argv[i],"--nt-service")) {