aboutsummaryrefslogtreecommitdiff
path: root/lib/transfer.c
diff options
context:
space:
mode:
authorJames Housley <jim@thehousleys.net>2007-08-03 13:46:59 +0000
committerJames Housley <jim@thehousleys.net>2007-08-03 13:46:59 +0000
commit9fa05db83b104509bdbce7baa3fd46fba4b5e850 (patch)
tree101054d498ea280e9744ab2f5f883edf82682205 /lib/transfer.c
parent7ed58c463604092013dd53d9313c21cd75b6a22f (diff)
The previous commit to force the use of libssh2-0.16 by removing
LIBSSH2_APINO
Diffstat (limited to 'lib/transfer.c')
-rw-r--r--lib/transfer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index efa8cdd02..f276dc0f8 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -332,10 +332,10 @@ CURLcode Curl_readwrite(struct connectdata *conn,
if((k->keepon & (KEEP_READ|KEEP_READ_HOLD)) == KEEP_READ) {
fd_read = conn->sockfd;
-#if defined(USE_LIBSSH2) && defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
+#if defined(USE_LIBSSH2)
if (conn->protocol & (PROT_SCP|PROT_SFTP))
select_res |= CURL_CSELECT_IN;
-#endif /* USE_LIBSSH2 && LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */
+#endif /* USE_LIBSSH2 */
} else
fd_read = CURL_SOCKET_BAD;