summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pair_inproc.cpp2
-rw-r--r--tests/test_reqrep_inproc.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_pair_inproc.cpp b/tests/test_pair_inproc.cpp
index 17c37e0..6194f2a 100644
--- a/tests/test_pair_inproc.cpp
+++ b/tests/test_pair_inproc.cpp
@@ -23,7 +23,7 @@
int main (int argc, char *argv [])
{
- void *ctx = zmq_init (1);
+ void *ctx = zmq_init (0);
assert (ctx);
void *sb = zmq_socket (ctx, ZMQ_PAIR);
diff --git a/tests/test_reqrep_inproc.cpp b/tests/test_reqrep_inproc.cpp
index 7fd0e69..aeff7ef 100644
--- a/tests/test_reqrep_inproc.cpp
+++ b/tests/test_reqrep_inproc.cpp
@@ -23,7 +23,7 @@
int main (int argc, char *argv [])
{
- void *ctx = zmq_init (1);
+ void *ctx = zmq_init (0);
assert (ctx);
void *sb = zmq_socket (ctx, ZMQ_REP);