From abb184a051b592b6d4c99fd3299e78ea7c1da826 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 26 Mar 2011 10:38:40 +0100 Subject: ZMQ_NOBLOCK renamed ZMQ_DONTWAIT Done because of POSIX compliance Signed-off-by: Martin Sustrik --- tests/test_hwm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3