diff options
Diffstat (limited to 'src/msg.c')
-rw-r--r-- | src/msg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -245,7 +245,7 @@ int msg_connect_and_communicate(const char *host, const char *port, const struct goto close; close: - log_errno_if(close(fd), "close"); + net_close(fd); return ret; } |