mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-05-28 17:41:28 +03:00
fix #ifdef win32 bug
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@160 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
parent
58f28617b8
commit
7278a9df95
@ -71,7 +71,7 @@ void ssh_socket_free(struct socket *s){
|
||||
*/
|
||||
void ssh_socket_close(struct socket *s){
|
||||
if(ssh_socket_is_open(s)){
|
||||
#ifdef _WIN_32
|
||||
#ifdef _WIN32
|
||||
closesocket(s->fd);
|
||||
s->last_errno=WSAGetLastError();
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user