mirror of
https://github.com/curl/curl.git
synced 2026-06-17 06:15:37 +03:00
include the libssh2 return code in the output for these failures to ease
debugging
This commit is contained in:
parent
800a72878a
commit
46e6115d72
1 changed files with 2 additions and 2 deletions
|
|
@ -1736,7 +1736,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
|
|||
break;
|
||||
}
|
||||
else if(rc) {
|
||||
infof(data, "Failed to get channel EOF\n");
|
||||
infof(data, "Failed to get channel EOF: %d\n", rc);
|
||||
}
|
||||
}
|
||||
state(conn, SSH_SCP_WAIT_CLOSE);
|
||||
|
|
@ -1749,7 +1749,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn)
|
|||
break;
|
||||
}
|
||||
else if(rc) {
|
||||
infof(data, "Channel failed to close\n");
|
||||
infof(data, "Channel failed to close: %d\n", rc);
|
||||
}
|
||||
}
|
||||
state(conn, SSH_SCP_CHANNEL_FREE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue