summaryrefslogtreecommitdiff
path: root/tests/test_msg_flags.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:22 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:01:22 +0900
commitb8ba042912233045b6ca74f732bcc7265dfeb5b0 (patch)
treed29161688ecb4abc8a71c3ad3036c56a81e0b4a3 /tests/test_msg_flags.cpp
parent061d0df60624bdcef571188fd7c7ecdcadf520eb (diff)
Monitor object added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/test_msg_flags.cpp')
-rw-r--r--tests/test_msg_flags.cpp5
1 files changed, 3 insertions, 2 deletions
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);