From 4e668fdd5b5da0d46f97d835249dbe5f0ea319a7 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Thu, 19 Oct 2017 15:16:25 -0700 Subject: fixes #84 Consider using msec for durations There is now a public nng_duration type. We have also updated the zerotier work to work with the signed int64_t's that the latst ZeroTier dev branch is using. --- tests/udp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/udp.c') diff --git a/tests/udp.c b/tests/udp.c index e343bbab..639d8da8 100644 --- a/tests/udp.c +++ b/tests/udp.c @@ -162,7 +162,7 @@ TestMain("UDP support", { nni_plat_udp_send(u1, aio2); // This delay here is required to test for a race // condition that does not occur if it is absent. - nng_usleep(200); + nng_msleep(1); nni_plat_udp_send(u1, aio1); nni_aio_wait(aio2); -- cgit v1.2.3-70-g09d2