mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Replace some "fall through" comments not at the end of a case.
This commit is contained in:
parent
75547c01a3
commit
9fe23b8672
@ -1067,7 +1067,10 @@ parse_socks_client(const uint8_t *data, size_t datalen,
|
|||||||
log_info(LD_NET, "SOCKS 5 client: need authentication.");
|
log_info(LD_NET, "SOCKS 5 client: need authentication.");
|
||||||
*drain_out = -1;
|
*drain_out = -1;
|
||||||
return 2;
|
return 2;
|
||||||
/* fall through */
|
default:
|
||||||
|
/* This wasn't supposed to be exhaustive; there are other
|
||||||
|
* authentication methods too. */
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
*reason = tor_strdup("server doesn't support any of our available "
|
*reason = tor_strdup("server doesn't support any of our available "
|
||||||
|
@ -546,7 +546,7 @@ send_resolved_cell,(edge_connection_t *conn, uint8_t answer_type,
|
|||||||
break;
|
break;
|
||||||
} else {
|
} else {
|
||||||
answer_type = RESOLVED_TYPE_ERROR;
|
answer_type = RESOLVED_TYPE_ERROR;
|
||||||
/* fall through. */
|
/* We let this fall through and treat it as an error. */
|
||||||
}
|
}
|
||||||
/* Falls through. */
|
/* Falls through. */
|
||||||
case RESOLVED_TYPE_ERROR_TRANSIENT:
|
case RESOLVED_TYPE_ERROR_TRANSIENT:
|
||||||
|
Loading…
Reference in New Issue
Block a user