diff options
Diffstat (limited to 'common/socket.c')
-rw-r--r-- | common/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/socket.c b/common/socket.c index a2f8eec..bbc3de2 100644 --- a/common/socket.c +++ b/common/socket.c @@ -307,7 +307,7 @@ int socket_connect(const char *addr, uint16_t port) } } } - close(sfd); + socket_close(sfd); } freeaddrinfo(result); |