Commit 3c71a1ba authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

oops, fixed build when CURL_LIBSSH2_DEBUG is defined

parent 3ec32268
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1876,11 +1876,11 @@ static CURLcode ssh_connect(struct connectdata *conn, bool *done)
  ssh = &conn->proto.sshc;

#ifdef CURL_LIBSSH2_DEBUG
  if(ssh->user) {
    infof(data, "User: %s\n", ssh->user);
  if(conn->user) {
    infof(data, "User: %s\n", conn->user);
  }
  if(ssh->passwd) {
    infof(data, "Password: %s\n", ssh->passwd);
  if(conn->passwd) {
    infof(data, "Password: %s\n", conn->passwd);
  }
#endif /* CURL_LIBSSH2_DEBUG */
  sock = conn->sock[FIRSTSOCKET];