summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c
index db3a35b344..fe5dba55be 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -69,8 +69,8 @@ int has_completed_circuit=0;
/* #define MS_WINDOWS_SERVICE */
#ifdef MS_WINDOWS_SERVICE
#include <tchar.h>
-#define GENSRV_SERVICENAME TEXT("tor-009pre6")
-#define GENSRV_DISPLAYNAME TEXT("Tor 0.0.9 pre6 Win32 Service")
+#define GENSRV_SERVICENAME TEXT("tor-"VERSION)
+#define GENSRV_DISPLAYNAME TEXT("Tor "VERSION" pre6 Win32 Service")
SERVICE_STATUS service_status;
SERVICE_STATUS_HANDLE hStatus;
static char **backup_argv;