diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-26 10:38:40 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-26 10:38:40 +0100 |
commit | abb184a051b592b6d4c99fd3299e78ea7c1da826 (patch) | |
tree | cbbe7a6778c728710dbdb3ba16489db7b0e91202 /tests | |
parent | bc4a1ce3345f4e5904e4b13c618f90def21256a5 (diff) |
ZMQ_NOBLOCK renamed ZMQ_DONTWAIT
Done because of POSIX compliance
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_hwm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_hwm.cpp b/tests/test_hwm.cpp index 9f3aac1..10b26e1 100644 --- a/tests/test_hwm.cpp +++ b/tests/test_hwm.cpp @@ -48,7 +48,7 @@ int main (int argc, char *argv []) // Try to send 10 messages. Only 4 should succeed. for (int i = 0; i < 10; i++) { - int rc = zmq_send (sc, NULL, 0, ZMQ_NOBLOCK); + int rc = zmq_send (sc, NULL, 0, ZMQ_DONTWAIT); if (i < 4) assert (rc == 0); else |