diff options
Diffstat (limited to 'src/inet.c')
-rw-r--r-- | src/inet.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -220,7 +220,6 @@ const char *inet_tryconnect(p_sock ps, const char *address, | |||
220 | } | 220 | } |
221 | } else remote.sin_family = AF_UNSPEC; | 221 | } else remote.sin_family = AF_UNSPEC; |
222 | err = sock_connect(ps, (SA *) &remote, sizeof(remote), tm); | 222 | err = sock_connect(ps, (SA *) &remote, sizeof(remote), tm); |
223 | if (err != IO_DONE) sock_destroy(ps); | ||
224 | return sock_strerror(err); | 223 | return sock_strerror(err); |
225 | } | 224 | } |
226 | 225 | ||