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/pollfd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/pollfd.c') diff --git a/tests/pollfd.c b/tests/pollfd.c index e5130f57..e1965b09 100644 --- a/tests/pollfd.c +++ b/tests/pollfd.c @@ -45,10 +45,8 @@ TestMain("Poll FDs", { nng_close(s2); }); So(nng_listen(s1, "inproc://yeahbaby", NULL, 0) == 0); - nng_usleep(50000); - So(nng_dial(s2, "inproc://yeahbaby", NULL, 0) == 0); - nng_usleep(50000); + nng_msleep(50); Convey("We can get a recv FD", { int fd; -- cgit v1.2.3-70-g09d2