diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-26 11:03:31 -0700 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-26 11:03:31 -0700 |
commit | 153ff4f559d9b7eeb70d7ebd15225f347cc0aae6 (patch) | |
tree | 60acc15b53dba3c0dfaaca79874454fb2dd23603 /src | |
parent | ed5d2daba1944d7910b991475763376162b31af9 (diff) | |
download | tor-153ff4f559d9b7eeb70d7ebd15225f347cc0aae6.tar.gz tor-153ff4f559d9b7eeb70d7ebd15225f347cc0aae6.zip |
fix a warning in protover.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/protover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/protover.c b/src/or/protover.c index 74fc3d0f74..9e0391a410 100644 --- a/src/or/protover.c +++ b/src/or/protover.c @@ -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 |