diff --git a/tests/rigctld.c b/tests/rigctld.c index 22163aa5c..5d1ef374d 100644 --- a/tests/rigctld.c +++ b/tests/rigctld.c @@ -1045,7 +1045,7 @@ void *handle_socket(void *arg) handle_exit: #ifdef __MINGW32__ - shutdown(handle_data_arg->sock, 2) + shutdown(handle_data_arg->sock, 2); closesocket(handle_data_arg->sock); #else close(handle_data_arg->sock);