mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-12-24 19:37:48 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user