1
0
mirror of https://github.com/moparisthebest/curl synced 2024-10-31 15:45:12 -04:00

include the libssh2 return code in the output for these failures to ease

debugging
This commit is contained in:
Daniel Stenberg 2007-11-29 11:25:10 +00:00
parent 800a72878a
commit 46e6115d72

View File

@ -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);