aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/zt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zt.c b/tests/zt.c
index fa662857..4009588a 100644
--- a/tests/zt.c
+++ b/tests/zt.c
@@ -103,7 +103,7 @@ check_props(nng_msg *msg)
z = sizeof(c);
c = 0;
- So(nng_pipe_getopt(p, NNG_OPT_ZT_PING_COUNT, &c, &z) == 0);
+ So(nng_pipe_getopt(p, NNG_OPT_ZT_PING_TRIES, &c, &z) == 0);
So(c > 0 && c < 10); // actually 5...
t = 0;