mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-09 15:26:04 +00:00
Another error handling issue on Win32 solved
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
parent
475ba3849d
commit
8203c4dbb2
@ -196,7 +196,7 @@ int main (int argc, char *argv [])
|
||||
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
DWORD rc2 = WaitForSingleObject (local_thread, INFINITE);
|
||||
if (rc == WAIT_FAILED) {
|
||||
if (rc2 == WAIT_FAILED) {
|
||||
printf ("error in WaitForSingleObject\n");
|
||||
return -1;
|
||||
}
|
||||
|
@ -205,7 +205,7 @@ int main (int argc, char *argv [])
|
||||
|
||||
#if defined ZMQ_HAVE_WINDOWS
|
||||
DWORD rc2 = WaitForSingleObject (local_thread, INFINITE);
|
||||
if (rc == WAIT_FAILED) {
|
||||
if (rc2 == WAIT_FAILED) {
|
||||
printf ("error in WaitForSingleObject\n");
|
||||
return -1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user