diff options
Diffstat (limited to 'tests/sockets/webrtc_host.c')
-rw-r--r-- | tests/sockets/webrtc_host.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sockets/webrtc_host.c b/tests/sockets/webrtc_host.c index 770e59e0..866c875c 100644 --- a/tests/sockets/webrtc_host.c +++ b/tests/sockets/webrtc_host.c @@ -26,7 +26,7 @@ struct iovec iov[1]; struct msghdr hdr; int done = 0; -void iter(void* arg) { +void iter() { int n; n = recvmsg(sock, &hdr, 0); @@ -82,8 +82,8 @@ int main(void) #if EMSCRIPTEN emscripten_set_main_loop(iter, 0, 0); #else - while (!done) iter(NULL); + while (!done) iter(); #endif return EXIT_SUCCESS; -}
\ No newline at end of file +} |