Skip to content

Commit

Permalink
Fix test failure on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
thevindu-w committed Jun 20, 2024
1 parent 226b77e commit bed690a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utils/net_utils.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,6 @@ void close_socket(socket_t *socket) {
switch (socket->type) {
case PLAIN_SOCK: {
#if defined(__linux__) || defined(__APPLE__)
shutdown(socket->socket.plain, SHUT_RD);
close(socket->socket.plain);
#elif defined(_WIN32)
closesocket(socket->socket.plain);
Expand Down

0 comments on commit bed690a

Please sign in to comment.