tor

The Tor anonymity network
git clone https://git.dasho.dev/tor.git
Log | Files | Refs | README | LICENSE

commit 2cd1c0765834087797455301dbc2c941b71036a3
parent fecc5fd38d80093a9c189eece4acd41c35cd36c6
Author: Nick Mathewson <nickm@torproject.org>
Date:   Wed,  6 May 2020 16:49:57 -0400

hs_dos.c: rewrite a comment not to say "fallthrough"

There's nothing wrong with the comment, but the script I'm about to
apply wouldn't like it.

Diffstat:
Msrc/feature/hs/hs_dos.c | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/feature/hs/hs_dos.c b/src/feature/hs/hs_dos.c @@ -196,7 +196,9 @@ hs_dos_can_send_intro2(or_circuit_t *s_intro_circ) goto allow; } - /* Fallthrough is to disallow since this means the bucket has reached 0. */ + /* If we reach this point, then it means the bucket has reached zero, and + we're going to disallow. */ + disallow: /* Increment stats counter, we are rejecting the INTRO2 cell. */ intro2_rejected_count++;