Commit e1c6352a authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel 🕺

Fixup overlooked `unless` occurence

This was broken in eae19112
parent 0aaf812e
......@@ -259,7 +259,7 @@ mkFD fd iomode mb_stat is_socket is_nonblock = do
_other_type -> return ()
#ifdef mingw32_HOST_OS
unless is_socket $ setmode fd True >> return ()
when (not is_socket) $ setmode fd True >> return ()
return (FD{ fdFD = fd,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment