summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-27 11:43:21 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-27 11:43:21 +0100
commit957180219023909e4cdfb7e4b6d92a5e0b390c8f (patch)
tree6c453e08aca4e95922230663339dcbd6d28886d0
parent44c9e18e5fdcc9367c5d04c762d2082382ab5f1e (diff)
downloadcurl-957180219023909e4cdfb7e4b6d92a5e0b390c8f.tar.gz
libssh2: fix CURL_LIBSSH2_DEBUG-enabled build
Follow-up to 2dcc940959772a Reported-by: Gisle Vanem Bug: https://github.com/curl/curl/commit/2dcc940959772a652f6813fb6bd3092095a4877b#commitcomment-46420088
-rw-r--r--lib/vssh/libssh2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
index 04daec9a3..3130dcc74 100644
--- a/lib/vssh/libssh2.c
+++ b/lib/vssh/libssh2.c
@@ -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 */