[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove some now-needless length defines
commit d2d5a7dabccf4b653434c0082df7d5c2f90b1575
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Sat Feb 23 22:37:39 2013 -0500
Remove some now-needless length defines
---
src/or/dirserv.h | 8 --------
src/or/dirvote.c | 3 ---
2 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/src/or/dirserv.h b/src/or/dirserv.h
index 6c2e372..a71ac7d 100644
--- a/src/or/dirserv.h
+++ b/src/or/dirserv.h
@@ -29,14 +29,6 @@
/** Maximum allowable length of a version line in a networkstatus. */
#define MAX_V_LINE_LEN 128
-/** Length of "r Authority BadDirectory BadExit Exit Fast Guard HSDir Named
- * Running Stable Unnamed V2Dir Valid\n". */
-#define MAX_FLAG_LINE_LEN 96
-/** Length of "w" line for weighting. Currently at most
- * "w Bandwidth=<uint32t> Measured=<uint32t>\n" */
-#define MAX_WEIGHT_LINE_LEN (12+10+10+10+1)
-/** Maximum length of an exit policy summary line. */
-#define MAX_POLICY_LINE_LEN (3+MAX_EXITPOLICY_SUMMARY_LEN)
int connection_dirserv_flushed_some(dir_connection_t *conn);
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 6ae4944..8ae0bb8 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -57,9 +57,6 @@ static char *make_consensus_method_list(int low, int high, const char *sep);
* Voting
* =====*/
-/* Overestimated. */
-#define MICRODESC_LINE_LEN 80
-
/** Return a new string containing the string representation of the vote in
* <b>v3_ns</b>, signed with our v3 signing key <b>private_signing_key</b>.
* For v3 authorities. */
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits