From 20792d0b7b3fcedfb73b87d182fb3d8758814241 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 2 Aug 2019 12:57:18 -0400 Subject: [PATCH] test-fullmode-with-stun: Use portable g_usleep() for MSVC --- tests/test-fullmode-with-stun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4