aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/websockets_gethostbyname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/websockets_gethostbyname.c b/tests/websockets_gethostbyname.c
index cba2c635..1580d9a7 100644
--- a/tests/websockets_gethostbyname.c
+++ b/tests/websockets_gethostbyname.c
@@ -44,7 +44,7 @@ unsigned int get_all_buf(int sock, char* output, unsigned int maxsize)
int done = 0;
-void iter(void *arg) {
+void iter() {
/* perform read write operations ... */
static char out[1024*2];
static int pos = 0;
@@ -124,7 +124,7 @@ int main(void)
#if EMSCRIPTEN
emscripten_set_main_loop(iter, 0, 0);
#else
- while (!done) iter(NULL);
+ while (!done) iter();
#endif
return EXIT_SUCCESS;