diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-04-04 12:49:39 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-04-04 12:49:39 +0200 |
commit | 475ba3849dd6563ce7b70c4db4d0ac85ac83658d (patch) | |
tree | 5157ffa2559371156ffacfe24d19459b21cdb9a1 /src | |
parent | 1842628b9058b9243ebe037a6818c27ea1c8cd8d (diff) |
Issue with error checking on Win32 platform fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 |