aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-10-03 23:30:05 +0200
committerDaniel Stenberg <daniel@haxx.se>2014-10-03 23:30:05 +0200
commitd57f7d586bcdbc49cc8a083266cd0baaf6d8b18e (patch)
treef612be157487e8b7a92fd5332bd36a6414d53f18
parentfa7d04fed4d4578fe29bdff0b5465f6e4a7da81a (diff)
ssh: comment "fallthrough" in switch statement
-rw-r--r--lib/ssh.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 76389a036..f468e4c84 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -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;