aboutsummaryrefslogtreecommitdiff
path: root/service-win32/service.patch
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2006-02-03 09:04:52 +0000
commit8d33c060282fedc26d46e02aeee98fb751330adb (patch)
tree51ec9482e012e08e93759fdde9329b76d60442bd /service-win32/service.patch
parentAdded --management-client option to connect as a client to (diff)
downloadopenvpn-8d33c060282fedc26d46e02aeee98fb751330adb.tar.xz
Added feature to --management-client to confirm connection
by writing IP addr and port to a file. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@885 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'service-win32/service.patch')
-rwxr-xr-xservice-win32/service.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/service-win32/service.patch b/service-win32/service.patch
index b4b2063..8de38eb 100755
--- a/service-win32/service.patch
+++ b/service-win32/service.patch
@@ -1,5 +1,5 @@
---- service.c.orig Mon Sep 5 14:38:41 2005
-+++ service.c Tue Sep 6 13:58:52 2005
+--- service.c.orig Mon Jan 30 10:03:35 2006
++++ service.c Mon Jan 30 10:16:33 2006
@@ -16,6 +16,7 @@
service_main(DWORD dwArgc, LPTSTR *lpszArgv);
CmdInstallService();
@@ -221,9 +221,9 @@
+
+ schService = OpenService(
+ schSCManager, // SCM database
-+ "MeetrixService", // service name
++ SZSERVICENAME, // service name
+ SERVICE_ALL_ACCESS);
-+
++
+ if (schService == NULL) {
+ _tprintf(TEXT("OpenService failed - %s\n"), GetLastErrorText(szErr,256));
+ ret = 1;
@@ -319,8 +319,8 @@
}
if ( lpszTemp )
---- service.h.orig Mon Sep 5 14:38:41 2005
-+++ service.h Tue Sep 6 13:58:59 2005
+--- service.h.orig Mon Jan 30 10:03:35 2006
++++ service.h Mon Jan 30 10:03:35 2006
@@ -62,13 +62,13 @@
//// todo: change to desired strings
////