From b8ba042912233045b6ca74f732bcc7265dfeb5b0 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 16 Feb 2012 10:01:22 +0900 Subject: Monitor object added Signed-off-by: Martin Sustrik --- tests/test_msg_flags.cpp | 5 +++-- tests/test_pair_inproc.cpp | 4 ++-- tests/test_reqrep_inproc.cpp | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) (limited to 'tests') diff --git a/tests/test_msg_flags.cpp b/tests/test_msg_flags.cpp index 10fd526..f836184 100644 --- a/tests/test_msg_flags.cpp +++ b/tests/test_msg_flags.cpp @@ -1,5 +1,6 @@ /* - Copyright (c) 2011 250bpm s.r.o. + Copyright (c) 2011-2012 250bpm s.r.o. + Copyright (c) 2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. @@ -25,7 +26,7 @@ int main (int argc, char *argv []) { // Create the infrastructure - void *ctx = zmq_init (0); + void *ctx = zmq_init (1); assert (ctx); void *sb = zmq_socket (ctx, ZMQ_XREP); assert (sb); diff --git a/tests/test_pair_inproc.cpp b/tests/test_pair_inproc.cpp index 6705cc5..75a9720 100644 --- a/tests/test_pair_inproc.cpp +++ b/tests/test_pair_inproc.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2010-2011 250bpm s.r.o. + Copyright (c) 2010-2012 250bpm s.r.o. Copyright (c) 2010-2011 Other contributors as noted in the AUTHORS file This file is part of 0MQ. @@ -26,7 +26,7 @@ int main (int argc, char *argv []) { fprintf (stderr, "test_pair_inproc running...\n"); - void *ctx = zmq_init (0); + void *ctx = zmq_init (1); assert (ctx); void *sb = zmq_socket (ctx, ZMQ_PAIR); diff --git a/tests/test_reqrep_inproc.cpp b/tests/test_reqrep_inproc.cpp index f710968..ae998eb 100644 --- a/tests/test_reqrep_inproc.cpp +++ b/tests/test_reqrep_inproc.cpp @@ -26,7 +26,7 @@ int main (int argc, char *argv []) { fprintf (stderr, "test_reqrep_inproc running...\n"); - void *ctx = zmq_init (0); + void *ctx = zmq_init (1); assert (ctx); void *sb = zmq_socket (ctx, ZMQ_REP); -- cgit v1.2.3