1
0
mirror of https://github.com/timvisee/lazymc.git synced 2025-07-28 18:52:00 -07:00

Fix compilation error on Windows

This commit is contained in:
timvisee
2021-11-10 23:56:07 +01:00
parent 99af0c6437
commit 69b964b603

@@ -11,7 +11,7 @@ pub unsafe fn force_kill(pid: u32) -> bool {
debug!(target: "lazymc", "Sending force kill to {} to kill server", pid);
let handle = OpenProcess(PROCESS_TERMINATE, FALSE, pid);
if handle == NULL {
warn!(target: "lazymc", "Failed to open process handle in order to kill it", pid);
warn!(target: "lazymc", "Failed to open process handle in order to kill it");
return false;
}