aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-05-22 13:01:22 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-05-22 13:01:22 +0000
commit7278a9df95d905234e5e86425afff457cb41b8cd (patch)
tree06ea0f30f6fa613b677d777c30f196e5348a1173
parent58f28617b8c6ca02889f8d116c9a7cd31f7a22a1 (diff)
downloadlibssh-7278a9df95d905234e5e86425afff457cb41b8cd.tar.gz
libssh-7278a9df95d905234e5e86425afff457cb41b8cd.tar.xz
libssh-7278a9df95d905234e5e86425afff457cb41b8cd.zip
fix #ifdef win32 bug
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@160 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--libssh/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/socket.c b/libssh/socket.c
index 09b48573..2d82ec66 100644
--- a/libssh/socket.c
+++ b/libssh/socket.c
@@ -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