mirror of
https://github.com/curl/curl.git
synced 2026-08-26 12:03:37 +03:00
The previous commit to force the use of libssh2-0.16 by removing
LIBSSH2_APINO
This commit is contained in:
parent
7ed58c4636
commit
9fa05db83b
2 changed files with 2 additions and 6 deletions
|
|
@ -3446,10 +3446,8 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
conn->curl_connect = Curl_ssh_connect; /* ssh_connect? */
|
||||
conn->curl_do = Curl_scp_do;
|
||||
conn->curl_done = Curl_scp_done;
|
||||
#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
|
||||
conn->curl_connecting = Curl_ssh_multi_statemach;
|
||||
conn->curl_doing = Curl_scp_doing;
|
||||
#endif /* LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */
|
||||
conn->curl_do_more = (Curl_do_more_func)ZERO_NULL;
|
||||
#else
|
||||
failf(data, LIBCURL_NAME
|
||||
|
|
@ -3465,10 +3463,8 @@ static CURLcode CreateConnection(struct SessionHandle *data,
|
|||
conn->curl_connect = Curl_ssh_connect; /* ssh_connect? */
|
||||
conn->curl_do = Curl_sftp_do;
|
||||
conn->curl_done = Curl_sftp_done;
|
||||
#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
|
||||
conn->curl_connecting = Curl_ssh_multi_statemach;
|
||||
conn->curl_doing = Curl_sftp_doing;
|
||||
#endif /* LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */
|
||||
conn->curl_do_more = (Curl_do_more_func)ZERO_NULL;
|
||||
#else
|
||||
failf(data, LIBCURL_NAME
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue