summaryrefslogtreecommitdiff
path: root/lib/vssh/libssh2.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-01-19 10:43:44 +0100
committerDaniel Stenberg <daniel@haxx.se>2021-01-19 10:43:44 +0100
commit42c7a3b3224dc3ddd7be4b5820d66a1d0bc0f026 (patch)
tree6cfcde8a71985a5a9fe0b1feeb21ea9bd0c2d687 /lib/vssh/libssh2.c
parentf451206266be6ee6c843fb3a1b3d1d676a6d56b8 (diff)
downloadcurl-bagder/curl_path-data-conn.tar.gz
curl_path: remove conn->data usebagder/curl_path-data-conn
Diffstat (limited to 'lib/vssh/libssh2.c')
-rw-r--r--lib/vssh/libssh2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/vssh/libssh2.c b/lib/vssh/libssh2.c
index f2921352d..0e2d6f824 100644
--- a/lib/vssh/libssh2.c
+++ b/lib/vssh/libssh2.c
@@ -1275,7 +1275,7 @@ static CURLcode ssh_statemach_act(struct Curl_easy *data, bool *block)
case SSH_SFTP_QUOTE_INIT:
- result = Curl_getworkingpath(conn, sshc->homedir, &sftp_scp->path);
+ result = Curl_getworkingpath(data, sshc->homedir, &sftp_scp->path);
if(result) {
sshc->actualcode = result;
state(data, SSH_STOP);
@@ -2503,7 +2503,7 @@ static CURLcode ssh_statemach_act(struct Curl_easy *data, bool *block)
break;
case SSH_SCP_TRANS_INIT:
- result = Curl_getworkingpath(conn, sshc->homedir, &sftp_scp->path);
+ result = Curl_getworkingpath(data, sshc->homedir, &sftp_scp->path);
if(result) {
sshc->actualcode = result;
state(data, SSH_STOP);