Commit 46e6115d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

debugging
parent 800a7287
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);