aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/server/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/server/util.c b/tests/server/util.c
index 09bb515b4..99aa1de40 100644
--- a/tests/server/util.c
+++ b/tests/server/util.c
@@ -632,7 +632,7 @@ static BOOL WINAPI ctrl_event_handler(DWORD dwCtrlType)
}
if(signum) {
logmsg("ctrl_event_handler: %d -> %d", dwCtrlType, signum);
- exit_signal_handler(signum);
+ raise(signum);
}
return TRUE;
}
@@ -656,7 +656,7 @@ static LRESULT CALLBACK main_window_proc(HWND hwnd, UINT uMsg,
}
if(signum) {
logmsg("main_window_proc: %d -> %d", uMsg, signum);
- exit_signal_handler(signum);
+ raise(signum);
}
}
return DefWindowProc(hwnd, uMsg, wParam, lParam);