[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fix a warning in protover.
commit 153ff4f559d9b7eeb70d7ebd15225f347cc0aae6
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits