diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-02-06 16:58:05 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-02-06 16:58:05 +0000 |
commit | a869574c564440c79a40b0d2019ad0a6c8b24174 (patch) | |
tree | 01d744a063b377e049f87c17ad4c567905db9bdd /src/or/dirserv.c | |
parent | f76cdc1a611fdbc134cabd1e0d81e7d9d8fd3648 (diff) | |
download | tor-a869574c564440c79a40b0d2019ad0a6c8b24174.tar.gz tor-a869574c564440c79a40b0d2019ad0a6c8b24174.zip |
r17947@catbus: nickm | 2008-02-06 11:57:53 -0500
Fix a bunch of DOCDOC items; document the --quiet flag; refactor a couple of XXXX020 items.
svn:r13405
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 4e495c286a..b36bfa067b 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -2283,16 +2283,6 @@ dirserv_generate_networkstatus_vote_obj(crypto_pk_env_t *private_key, static cached_dir_t * generate_v2_networkstatus_opinion(void) { -/** Amount of space to allocate for each entry. (r line and s line.) */ -#define RS_ENTRY_LEN \ - ( /* first line */ \ - MAX_NICKNAME_LEN+BASE64_DIGEST_LEN*2+ISO_TIME_LEN+INET_NTOA_BUF_LEN+ \ - 5*2 /* ports */ + 10 /* punctuation */ + \ - /* second line */ \ - (MAX_FLAG_LINE_LEN) + \ - /* third line */ \ - (MAX_V_LINE_LEN)) - cached_dir_t *r = NULL; size_t len, identity_pkey_len; char *status = NULL, *client_versions = NULL, *server_versions = NULL, |