diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-19 15:16:25 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-19 17:56:49 -0700 |
| commit | 4e668fdd5b5da0d46f97d835249dbe5f0ea319a7 (patch) | |
| tree | 0aaad8a672024b3a510763150b167320be6f1f5b /tests/compat_bug777.c | |
| parent | d7e39a2423212a31c5ef62dcb0b7a5b4bf9f34df (diff) | |
| download | nng-4e668fdd5b5da0d46f97d835249dbe5f0ea319a7.tar.gz nng-4e668fdd5b5da0d46f97d835249dbe5f0ea319a7.tar.bz2 nng-4e668fdd5b5da0d46f97d835249dbe5f0ea319a7.zip | |
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.
Diffstat (limited to 'tests/compat_bug777.c')
| -rw-r--r-- | tests/compat_bug777.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/compat_bug777.c b/tests/compat_bug777.c index 7bd6fce5..686b8181 100644 --- a/tests/compat_bug777.c +++ b/tests/compat_bug777.c @@ -1,5 +1,6 @@ /* - Copyright 2016 Garrett D'Amore <garrett@damore.org> + Copyright 2017 Garrett D'Amore <garrett@damore.org> + Copyright 2017 Capitar IT Group BV <info@capitar.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -34,7 +35,7 @@ int main (int argc, const char *argv[]) test_bind (sb, "inproc://pair"); sc1 = test_socket (AF_SP, NN_PAIR); test_connect (sc1, "inproc://pair"); - nng_usleep(100000); + nn_sleep (100); sc2 = test_socket (AF_SP, NN_PAIR); test_connect (sc2, "inproc://pair"); @@ -45,4 +46,3 @@ int main (int argc, const char *argv[]) test_recv (sb, "THERE"); return 0; } - |
