summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 588ed97116..7120e06438 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2064,8 +2064,7 @@ nt_service_command_line(void)
smartlist_free(sl);
/* Allocate a string for the NT service command line */
- cmdlen = strlen(tor_exe)+ strlen(" --nt-service -f ")
- + strlen(options) + 32;
+ cmdlen = strlen(tor_exe) + strlen(options) + 32;
command = tor_malloc(cmdlen);
/* Format the service command */