diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-08-02 12:57:18 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-08-02 12:57:26 -0400 |
commit | 20792d0b7b3fcedfb73b87d182fb3d8758814241 (patch) | |
tree | 4f20394c217ee563ebf502e936450847d598e185 | |
parent | 08693dbec10f1daf5530bf11856538907a25c6ee (diff) | |
download | libnice-20792d0b7b3fcedfb73b87d182fb3d8758814241.tar.gz |
test-fullmode-with-stun: Use portable g_usleep() for MSVC
-rw-r--r-- | tests/test-fullmode-with-stun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-fullmode-with-stun.c b/tests/test-fullmode-with-stun.c index 7d0b9fd..67d35f2 100644 --- a/tests/test-fullmode-with-stun.c +++ b/tests/test-fullmode-with-stun.c @@ -28,7 +28,7 @@ main (int argc, char ** argv) stund_proc = g_subprocess_new (G_SUBPROCESS_FLAGS_NONE, &gerr, stund, NICE_STUN_SERVER_PORT, NULL); - sleep(1); + g_usleep(G_USEC_PER_SEC); launcher = g_subprocess_launcher_new (G_SUBPROCESS_FLAGS_NONE); |