1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

connect: Use the correct close function.

This commit is contained in:
Andreas Schneider
2013-06-18 17:06:58 +02:00
parent aaae3c4ec1
commit 1deb3412bb

View File

@@ -358,7 +358,7 @@ socket_t ssh_connect_host_nonblocking(ssh_session session, const char *host,
"Failed to resolve bind address %s (%s)", "Failed to resolve bind address %s (%s)",
bind_addr, bind_addr,
gai_strerror(rc)); gai_strerror(rc));
close(s); ssh_connect_socket_close(s);
s=-1; s=-1;
break; break;
} }