--- a/ddos/client.c +++ b/ddos/client.c @@ -46,6 +46,5 @@ } } - close (client_socket); - return 0; + return close (client_socket); }