aboutsummaryrefslogtreecommitdiff
path: root/tests/reqrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reqrep.c')
-rw-r--r--tests/reqrep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/reqrep.c b/tests/reqrep.c
index 447060b0..b27af5ac 100644
--- a/tests/reqrep.c
+++ b/tests/reqrep.c
@@ -68,8 +68,8 @@ TestMain("REQ/REP pattern", {
nng_close(req);
});
- So(nng_listen(rep, addr, NULL, NNG_FLAG_SYNCH) == 0);
- So(nng_dial(req, addr, NULL, NNG_FLAG_SYNCH) == 0);
+ So(nng_listen(rep, addr, NULL, 0) == 0);
+ So(nng_dial(req, addr, NULL, 0) == 0);
Convey("They can REQ/REP exchange", {
nng_msg *ping;
@@ -123,7 +123,7 @@ TestMain("REQ/REP pattern", {
So(nng_msg_alloc(&def, 0) == 0);
So(nng_msg_append(def, "def", 4) == 0);
- So(nng_listen(rep, addr, NULL, NNG_FLAG_SYNCH) == 0);
+ So(nng_listen(rep, addr, NULL, 0) == 0);
So(nng_dial(req, addr, NULL, 0) == 0);
So(nng_sendmsg(req, abc, 0) == 0);