diff options
author | Roger Dingledine <arma@torproject.org> | 2007-01-15 08:52:01 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2007-01-15 08:52:01 +0000 |
commit | a9c250837e86eecf503c79ab139c805301320667 (patch) | |
tree | 33083f768d3796293f9cb7b90906d70a2bc6b8c5 | |
parent | cf7069fca48a4152c7f369d5ff2e01d7769e36aa (diff) | |
download | tor-a9c250837e86eecf503c79ab139c805301320667.tar.gz tor-a9c250837e86eecf503c79ab139c805301320667.zip |
patch from edmanm to make "-nt-service" command-line work too
svn:r9349
-rw-r--r-- | src/or/config.c | 3 |
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; } |