mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
fix a warning in protover.
This commit is contained in:
+1
-1
@@ -343,7 +343,7 @@ encode_protocol_list(const smartlist_t *sl)
|
||||
|
||||
/* We treat any protocol list with more than this many subprotocols in it
|
||||
* as a DoS attempt. */
|
||||
const int MAX_PROTOCOLS_TO_EXPAND = (1<<16);
|
||||
static const int MAX_PROTOCOLS_TO_EXPAND = (1<<16);
|
||||
|
||||
/** Voting helper: Given a list of proto_entry_t, return a newly allocated
|
||||
* smartlist of newly allocated strings, one for each included protocol
|
||||
|
||||
Reference in New Issue
Block a user