summaryrefslogtreecommitdiff
path: root/tests/reqrep_device.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-13 11:10:33 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-13 11:10:33 +0100
commit921da22147e201455837bcd38df1af33aceff26f (patch)
treee76e001ac65d4fa96ab89468e109db05978b7f70 /tests/reqrep_device.cpp
parent224b7c7a816010fc0f781372051ec7c578af42a0 (diff)
io_threads argument removed from xs_init()
The argument was changed to a context option (XS_IO_THREADS). 0MQ compatibility mode sets the option and ensures that there's at least one I/O thread present. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'tests/reqrep_device.cpp')
-rw-r--r--tests/reqrep_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reqrep_device.cpp b/tests/reqrep_device.cpp
index 4ce6951..54a9ed4 100644
--- a/tests/reqrep_device.cpp
+++ b/tests/reqrep_device.cpp
@@ -25,7 +25,7 @@ int XS_TEST_MAIN ()
{
fprintf (stderr, "reqrep_device test running...\n");
- void *ctx = xs_init (1);
+ void *ctx = xs_init ();
assert (ctx);
// Create a req/rep device.