Skip to content
Snippets Groups Projects
Commit 79b0c6ae authored by quasicomputational's avatar quasicomputational
Browse files

Try fixing an incomplete pattern in Win32 code

The non-Windows codepath has a catch-all case, so do that here too.
parent 20411e47
No related branches found
No related tags found
No related merge requests found
......@@ -249,8 +249,8 @@ initServer s0 = do
#if mingw32_HOST_OS
pid <- withProcessHandle (serverProcessHandle s0) $ \ph ->
case ph of
OpenHandle x -> fmap show (Win32.getProcessId x)
ClosedHandle _ -> return (serverProcessId s0)
OpenHandle x -> fmap show (Win32.getProcessId x)
_ -> return (serverProcessId s0)
#else
pid <- withProcessHandle (serverProcessHandle s0) $ \ph ->
case ph of
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment