diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-01-19 17:29:36 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-01-19 17:29:36 -0500 |
commit | ef148638a1d3b3123be41bc44197bcb7f1bb4083 (patch) | |
tree | a3d42f661bf3294a616e67e6a0de6f2b410d4155 /src/or/circuitbuild.c | |
parent | 1bcbb1bb0b73794e34d1f10edbd50753eff0eb37 (diff) | |
download | tor-ef148638a1d3b3123be41bc44197bcb7f1bb4083.tar.gz tor-ef148638a1d3b3123be41bc44197bcb7f1bb4083.zip |
Add a "falls through" comment to make gcc happy.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index ddcb72bf47..9c049a24b3 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2288,6 +2288,7 @@ choose_good_exit_server(origin_circuit_t *circ, int need_uptime, /* For these three, we want to pick the exit like a middle hop, * since it should be random. */ tor_assert_nonfatal(is_internal); + /* Falls through */ case CIRCUIT_PURPOSE_C_GENERAL: if (is_internal) /* pick it like a middle hop */ return router_choose_random_node(NULL, options->ExcludeNodes, flags); |