mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +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
|
|
@ -3361,10 +3361,10 @@ 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 (LIBSSH2_APINO >= 200706012030)
|
||||
#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
|
||||
conn->curl_connecting = Curl_ssh_multi_statemach;
|
||||
conn->curl_doing = Curl_scp_doing;
|
||||
#endif /* (LIBSSH2_APINO >= 200706012030) */
|
||||
#endif /* LIBSSH2_APINO && (LIBSSH2_APINO >= 200706012030L) */
|
||||
conn->curl_do_more = (Curl_do_more_func)ZERO_NULL;
|
||||
#else
|
||||
failf(data, LIBCURL_NAME
|
||||
|
|
@ -3380,10 +3380,10 @@ 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 (LIBSSH2_APINO >= 200706012030)
|
||||
#if defined(LIBSSH2_APINO) && (LIBSSH2_APINO >= 200706012030L)
|
||||
conn->curl_connecting = Curl_ssh_multi_statemach;
|
||||
conn->curl_doing = Curl_sftp_doing;
|
||||
#endif /* (LIBSSH2_APINO >= 200706012030) */
|
||||
#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