Commit 475ba384 authored by Martin Sustrik's avatar Martin Sustrik

Issue with error checking on Win32 platform fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent 1842628b
......@@ -48,7 +48,7 @@ void zmq::thread_t::stop ()
DWORD rc = WaitForSingleObject (descriptor, INFINITE);
win_assert (rc != WAIT_FAILED);
BOOL rc2 = CloseHandle (descriptor);
win_assert (rc != 0);
win_assert (rc2 != 0);
}
#else
......
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