mirror of
https://github.com/moparisthebest/curl
synced 2025-01-11 05:58:01 -05:00
libssh2: fix CURL_LIBSSH2_DEBUG-enabled build
Follow-up to2dcc940959
Reported-by: Gisle Vanem Bug:2dcc940959 (commitcomment-46420088)
This commit is contained in:
parent
44c9e18e5f
commit
9571802190
@ -3173,7 +3173,7 @@ static CURLcode ssh_connect(struct Curl_easy *data, bool *done)
|
|||||||
#endif /* HAVE_LIBSSH2_KNOWNHOST_API */
|
#endif /* HAVE_LIBSSH2_KNOWNHOST_API */
|
||||||
|
|
||||||
#ifdef CURL_LIBSSH2_DEBUG
|
#ifdef CURL_LIBSSH2_DEBUG
|
||||||
libssh2_trace(ssh->ssh_session, ~0);
|
libssh2_trace(sshc->ssh_session, ~0);
|
||||||
infof(data, "SSH socket: %d\n", (int)sock);
|
infof(data, "SSH socket: %d\n", (int)sock);
|
||||||
#endif /* CURL_LIBSSH2_DEBUG */
|
#endif /* CURL_LIBSSH2_DEBUG */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user