1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

libssh2: fix CURL_LIBSSH2_DEBUG-enabled build

Follow-up to 2dcc940959

Reported-by: Gisle Vanem
Bug: 2dcc940959 (commitcomment-46420088)
This commit is contained in:
Daniel Stenberg 2021-01-27 11:43:21 +01:00
parent 44c9e18e5f
commit 9571802190
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -3173,7 +3173,7 @@ static CURLcode ssh_connect(struct Curl_easy *data, bool *done)
#endif /* HAVE_LIBSSH2_KNOWNHOST_API */
#ifdef CURL_LIBSSH2_DEBUG
libssh2_trace(ssh->ssh_session, ~0);
libssh2_trace(sshc->ssh_session, ~0);
infof(data, "SSH socket: %d\n", (int)sock);
#endif /* CURL_LIBSSH2_DEBUG */