From 475ba3849dd6563ce7b70c4db4d0ac85ac83658d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 4 Apr 2011 12:49:39 +0200 Subject: Issue with error checking on Win32 platform fixed Signed-off-by: Martin Sustrik --- src/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/thread.cpp') diff --git a/src/thread.cpp b/src/thread.cpp index f1fd519..7bf9df0 100644 --- a/src/thread.cpp +++ b/src/thread.cpp @@ -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 -- cgit v1.2.3