Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/SoftEtherVPN/SoftEtherVPN_Stable.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/vpnclient/vpncsvc.c')
-rw-r--r--src/vpnclient/vpncsvc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vpnclient/vpncsvc.c b/src/vpnclient/vpncsvc.c
index f8c15545..62f63483 100644
--- a/src/vpnclient/vpncsvc.c
+++ b/src/vpnclient/vpncsvc.c
@@ -143,6 +143,8 @@ void StopProcess()
// WinMain function
int main(int argc, char *argv[])
{
+ InitProcessCallOnce();
+
#ifdef OS_WIN32
return MsService(GC_SVC_NAME_VPNCLIENT, StartProcess, StopProcess, ICO_MACHINE, argv[0]);