[tor-commits] [tor/master] fix a warning in protover.
nickm at torproject.org
nickm at torproject.org
Mon Sep 26 18:03:40 UTC 2016
commit 153ff4f559d9b7eeb70d7ebd15225f347cc0aae6
Author: Nick Mathewson <nickm at torproject.org>
Date: Mon Sep 26 11:03:31 2016 -0700
fix a warning in protover.
---
src/or/protover.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/or/protover.c b/src/or/protover.c
index 74fc3d0..9e0391a 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
More information about the tor-commits
mailing list