Commit 2b6df3da authored by Nick Mathewson's avatar Nick Mathewson
Browse files

Merge branch 'bug33212_035' into maint-0.3.5

parents 41d52e9c 99d044d5
o Minor bugfixes (rust, build):
- Fix a syntax warning given by newer versions of Rust, and creating
problems for our continuous integration.
Fixes bug 33212; bugfix on
......@@ -26,7 +26,7 @@ const FIRST_TOR_VERSION_TO_ADVERTISE_PROTOCOLS: &'static str = "";
/// before concluding that someone is trying to DoS us
const MAX_PROTOCOLS_TO_EXPAND: usize = (1 << 16);
const MAX_PROTOCOLS_TO_EXPAND: usize = 1 << 16;
/// The maximum size an `UnknownProtocol`'s name may be.
pub(crate) const MAX_PROTOCOL_NAME_LENGTH: usize = 100;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment