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. --- src/core/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/device.c') diff --git a/src/core/device.c b/src/core/device.c index 9161e2f0..22ec086e 100644 --- a/src/core/device.c +++ b/src/core/device.c @@ -66,7 +66,7 @@ nni_device(nni_sock *sock1, nni_sock *sock2) { nni_device_pair pair; int rv; - nni_time never = NNI_TIME_NEVER; + nni_duration never = -1; size_t sz; memset(&pair, 0, sizeof(pair)); -- cgit v1.2.3-70-g09d2