diff options
Diffstat (limited to 'src/modules/protocols/protoaccs.cpp')
-rw-r--r-- | src/modules/protocols/protoaccs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/protocols/protoaccs.cpp b/src/modules/protocols/protoaccs.cpp index 46917b38bf..4067068cad 100644 --- a/src/modules/protocols/protoaccs.cpp +++ b/src/modules/protocols/protoaccs.cpp @@ -495,7 +495,7 @@ static int DeactivationThread(DeactivationThreadParam* param) char *szModuleName = NEWSTR_ALLOCA(p->m_szModuleName);
if (param->bIsDynamic) {
- while (p->OnEvent(EV_PROTO_ONREADYTOEXIT, 0, 0) != 0)
+ while (p->OnEvent(EV_PROTO_ONREADYTOEXIT, 0, 0) != TRUE)
SleepEx(100, TRUE);
p->OnEvent(EV_PROTO_ONEXIT, 0, 0);
|