summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/thread.cpp2
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