From 13c16db3bca2690fbe889f655ec182d32f712b03 Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Mon, 24 Aug 2009 14:13:00 +0200
Subject: [PATCH] changes from int to libssh2_socket_t for sokcets

modified two functions to use libssh2_socket_t instead of int
when referring to a socket descriptor
---
 src/session.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/session.c b/src/session.c
index 40a1eaf..1732fc3 100644
--- a/src/session.c
+++ b/src/session.c
@@ -238,7 +238,7 @@ banner_send(LIBSSH2_SESSION * session)
  * is copied from the libcurl sources with permission.
  */
 static int
-session_nonblock(int sockfd,   /* operate on this */
+session_nonblock(libssh2_socket_t sockfd,   /* operate on this */
                  int nonblock /* TRUE or FALSE */ )
 {
 #undef SETBLOCK
@@ -529,7 +529,7 @@ int _libssh2_wait_socket(LIBSSH2_SESSION *session)
 }
 
 static int
-session_startup(LIBSSH2_SESSION *session, int sock)
+session_startup(LIBSSH2_SESSION *session, libssh2_socket_t sock)
 {
     int rc;