diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-11-29 11:25:10 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-11-29 11:25:10 +0000 |
commit | 46e6115d7264892bbd9154a7f453070dce208689 (patch) | |
tree | ea7fdb6dba4648fa412772972001584de38e8eaf | |
parent | 800a72878a5b66e10f3f73ee0ddd0646ae3874db (diff) |
include the libssh2 return code in the output for these failures to ease
debugging
-rw-r--r-- | lib/ssh.c | 4 |
1 files changed, 2 insertions, 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); |