diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 11:39:56 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-04-19 11:39:56 -0700 |
commit | 2e49ab9e7cad988adfc0f3c57185ceefa8dcad6d (patch) | |
tree | 8a1575e4f3699b3d11fdecd16ddece2806b524e1 /tests | |
parent | 797935a8e8a99c3e5b885d42eeea40c42efedd5f (diff) |
fix test_websockets_gethostbyname
Diffstat (limited to 'tests')
-rw-r--r-- | tests/websockets_gethostbyname.c | 4 |
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; |