mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 15:48:49 -05:00
ssh: comment "fallthrough" in switch statement
This commit is contained in:
parent
fa7d04fed4
commit
d57f7d586b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user