aboutsummaryrefslogtreecommitdiff
path: root/tests/reqrep.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/reqrep.c')
-rw-r--r--tests/reqrep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/reqrep.c b/tests/reqrep.c
index b27af5ac..e36232b6 100644
--- a/tests/reqrep.c
+++ b/tests/reqrep.c
@@ -115,7 +115,7 @@ TestMain("REQ/REP pattern", {
nng_close(req);
});
- So(nng_setopt_duration(req, NNG_OPT_RESENDTIME, retry) == 0);
+ So(nng_setopt_usec(req, NNG_OPT_RESENDTIME, retry) == 0);
So(nng_setopt_int(req, NNG_OPT_SNDBUF, 16) == 0);
So(nng_msg_alloc(&abc, 0) == 0);