[or-cvs] r9349: patch from edmanm to make "-nt-service" command-line work to (tor/trunk/src/or)

arma at seul.org arma at seul.org
Mon Jan 15 08:52:03 UTC 2007


Author: arma
Date: 2007-01-15 03:52:01 -0500 (Mon, 15 Jan 2007)
New Revision: 9349

Modified:
   tor/trunk/src/or/config.c
Log:
patch from edmanm to make "-nt-service" command-line work too


Modified: tor/trunk/src/or/config.c
===================================================================
--- tor/trunk/src/or/config.c	2007-01-15 08:40:50 UTC (rev 9348)
+++ tor/trunk/src/or/config.c	2007-01-15 08:52:01 UTC (rev 9349)
@@ -1066,7 +1066,8 @@
                !strcmp(argv[i],"--verify-config")) {
       i += 1; /* command-line option. ignore it. */
       continue;
-    } else if (!strcmp(argv[i],"--nt-service")) {
+    } else if (!strcmp(argv[i],"--nt-service") ||
+               !strcmp(argv[i],"-nt-service")) {
       i += 1;
       continue;
     }



More information about the tor-commits mailing list