aboutsummaryrefslogtreecommitdiff
path: root/tests/sockets/test_sockets_partial_server.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sockets/test_sockets_partial_server.c')
-rw-r--r--tests/sockets/test_sockets_partial_server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sockets/test_sockets_partial_server.c b/tests/sockets/test_sockets_partial_server.c
index 19f7f2af..f740c307 100644
--- a/tests/sockets/test_sockets_partial_server.c
+++ b/tests/sockets/test_sockets_partial_server.c
@@ -61,7 +61,7 @@ void do_send(int sockfd) {
exit(EXIT_SUCCESS);
}
-void iter(void *arg) {
+void iter() {
int res;
fd_set fdr;
fd_set fdw;
@@ -127,7 +127,7 @@ int main() {
#if EMSCRIPTEN
emscripten_set_main_loop(iter, 60, 0);
#else
- while (1) iter(NULL);
+ while (1) iter();
#endif
return EXIT_SUCCESS;