summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-03-26 10:38:40 +0100
committerMartin Sustrik <sustrik@250bpm.com>2011-03-26 10:38:40 +0100
commitabb184a051b592b6d4c99fd3299e78ea7c1da826 (patch)
treecbbe7a6778c728710dbdb3ba16489db7b0e91202 /tests
parentbc4a1ce3345f4e5904e4b13c618f90def21256a5 (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.cpp2
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