[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r9349: patch from edmanm to make "-nt-service" command-line work to (tor/trunk/src/or)
- To: or-cvs@xxxxxxxxxxxxx
- Subject: [or-cvs] r9349: patch from edmanm to make "-nt-service" command-line work to (tor/trunk/src/or)
- From: arma@xxxxxxxx
- Date: Mon, 15 Jan 2007 03:52:03 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 15 Jan 2007 03:52:17 -0500
- Reply-to: or-talk@xxxxxxxxxxxxx
- Sender: owner-or-cvs@xxxxxxxxxxxxx
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;
}