mirror of
https://github.com/curl/curl.git
synced 2026-08-03 14:10:30 +03:00
for now unless we do better fixed LIBSSH2_APINO compares to use long constants.
This commit is contained in:
parent
1261c3feba
commit
fee4f8c86d
4 changed files with 46 additions and 46 deletions
|
|
@ -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) && (LIBSSH2_APINO >= 200706012030)
|
||||
#if defined(USE_LIBSSH2) && defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
|
||||
if (conn->protocol & (PROT_SCP|PROT_SFTP))
|
||||
select_res |= CURL_CSELECT_IN;
|
||||
#endif /* USE_LIBSSH2 && (LIBSSH2_APINO >= 200706012030) */
|
||||
#endif /* USE_LIBSSH2 && LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */
|
||||
} else
|
||||
fd_read = CURL_SOCKET_BAD;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue