Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
9fe23b86
Commit
9fe23b86
authored
May 06, 2020
by
Nick Mathewson
🌻
Browse files
Replace some "fall through" comments not at the end of a case.
parent
75547c01
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/core/proto/proto_socks.c
View file @
9fe23b86
...
...
@@ -1067,7 +1067,10 @@ parse_socks_client(const uint8_t *data, size_t datalen,
log_info
(
LD_NET
,
"SOCKS 5 client: need authentication."
);
*
drain_out
=
-
1
;
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 "
...
...
src/feature/relay/dns.c
View file @
9fe23b86
...
...
@@ -546,7 +546,7 @@ send_resolved_cell,(edge_connection_t *conn, uint8_t answer_type,
break
;
}
else
{
answer_type
=
RESOLVED_TYPE_ERROR
;
/*
fall through
. */
/*
We let this fall through and treat it as an error
. */
}
/* Falls through. */
case
RESOLVED_TYPE_ERROR_TRANSIENT
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment