[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] make nt service version match actual version
Update of /home/or/cvsroot/tor/src/or
In directory moria.mit.edu:/tmp/cvs-serv30626/src/or
Modified Files:
main.c
Log Message:
make nt service version match actual version
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/main.c,v
retrieving revision 1.386
retrieving revision 1.387
diff -u -d -r1.386 -r1.387
--- main.c 23 Nov 2004 09:00:55 -0000 1.386
+++ main.c 24 Nov 2004 00:55:39 -0000 1.387
@@ -69,8 +69,8 @@
/* #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;