summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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