Commit d57f7d58 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

ssh: comment "fallthrough" in switch statement

parent fa7d04fe
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -588,8 +588,10 @@ static CURLcode ssh_knownhost(struct connectdata *conn)

    switch(rc) {
    default: /* unknown return codes will equal reject */
      /* FALLTHROUGH */
    case CURLKHSTAT_REJECT:
      state(conn, SSH_SESSION_FREE);
      /* FALLTHROUGH */
    case CURLKHSTAT_DEFER:
      /* DEFER means bail out but keep the SSH_HOSTKEY state */
      result = sshc->actualcode = CURLE_PEER_FAILED_VERIFICATION;