mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-06 07:44:57 +03:00
Enable debug messages and memory check with debug configuration
This commit is contained in:
@ -4565,7 +4565,11 @@ void CALLBACK MsServiceDispatcher(DWORD argc, LPTSTR *argv)
|
||||
|
||||
//// Initialization
|
||||
// Start of the Mayaqua
|
||||
#ifdef DEBUG
|
||||
InitMayaqua(true, true, 0, NULL);
|
||||
#else
|
||||
InitMayaqua(false, false, 0, NULL);
|
||||
#endif
|
||||
|
||||
// Stop the MS-IME
|
||||
MsDisableIme();
|
||||
@ -4740,7 +4744,11 @@ UINT MsService(char *name, SERVICE_FUNCTION *start, SERVICE_FUNCTION *stop, UINT
|
||||
}
|
||||
|
||||
// Start of the Mayaqua
|
||||
#ifdef DEBUG
|
||||
InitMayaqua(true, true, 0, NULL);
|
||||
#else
|
||||
InitMayaqua(false, false, 0, NULL);
|
||||
#endif
|
||||
|
||||
// Stop the MS-IME
|
||||
MsDisableIme();
|
||||
|
@ -2753,7 +2753,11 @@ RESTART_PROCESS:
|
||||
}
|
||||
else if (argc >= 3 && StrCmpi(argv[1], UNIX_SVC_ARG_START) == 0 && StrCmpi(argv[2], UNIX_SVC_ARG_FOREGROUND) == 0)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
InitMayaqua(true, true, argc, argv);
|
||||
#else
|
||||
InitMayaqua(false, false, argc, argv);
|
||||
#endif
|
||||
UnixExecService(name, start, stop);
|
||||
FreeMayaqua();
|
||||
}
|
||||
@ -2769,7 +2773,11 @@ void UnixServiceMain(int argc, char *argv[], char *name, SERVICE_FUNCTION *start
|
||||
{
|
||||
UINT mode = 0;
|
||||
// Start of the Mayaqua
|
||||
#ifdef DEBUG
|
||||
InitMayaqua(true, true, argc, argv);
|
||||
#else
|
||||
InitMayaqua(false, false, argc, argv);
|
||||
#endif
|
||||
|
||||
if (argc >= 2)
|
||||
{
|
||||
|
Reference in New Issue
Block a user