summaryrefslogtreecommitdiff
path: root/src/or/config.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2007-01-15 08:52:01 +0000
committerRoger Dingledine <arma@torproject.org>2007-01-15 08:52:01 +0000
commita9c250837e86eecf503c79ab139c805301320667 (patch)
tree33083f768d3796293f9cb7b90906d70a2bc6b8c5 /src/or/config.c
parentcf7069fca48a4152c7f369d5ff2e01d7769e36aa (diff)
downloadtor-a9c250837e86eecf503c79ab139c805301320667.tar.gz
tor-a9c250837e86eecf503c79ab139c805301320667.zip
patch from edmanm to make "-nt-service" command-line work too
svn:r9349
Diffstat (limited to 'src/or/config.c')
-rw-r--r--src/or/config.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 32b707ed59..71654543c6 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -1066,7 +1066,8 @@ config_get_commandlines(int argc, char **argv, config_line_t **result)
!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;
}