mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:23:32 +03:00
parent
219d9f8620
commit
e71542a9d9
4 changed files with 10 additions and 13 deletions
|
|
@ -965,8 +965,7 @@ static CURLcode myssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
break;
|
||||
|
||||
case SSH_SFTP_QUOTE_INIT:
|
||||
|
||||
result = Curl_getworkingpath(conn, sshc->homedir, &protop->path);
|
||||
result = Curl_getworkingpath(data, sshc->homedir, &protop->path);
|
||||
if(result) {
|
||||
sshc->actualcode = result;
|
||||
state(data, SSH_STOP);
|
||||
|
|
@ -1781,9 +1780,8 @@ static CURLcode myssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
state(data, SSH_SESSION_DISCONNECT);
|
||||
break;
|
||||
|
||||
|
||||
case SSH_SCP_TRANS_INIT:
|
||||
result = Curl_getworkingpath(conn, sshc->homedir, &protop->path);
|
||||
result = Curl_getworkingpath(data, sshc->homedir, &protop->path);
|
||||
if(result) {
|
||||
sshc->actualcode = result;
|
||||
state(data, SSH_STOP);
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue