summaryrefslogtreecommitdiff
path: root/src/or/dirvote.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-12-18 23:45:24 +0000
committerNick Mathewson <nickm@torproject.org>2007-12-18 23:45:24 +0000
commitd07122ba4741897967d110b10ed8ca0441cc6397 (patch)
tree9622be8f97b48243a4dff53e380fcc68f73fe523 /src/or/dirvote.c
parent076097281dde078149ed789cf3df0ef6ecce815d (diff)
downloadtor-d07122ba4741897967d110b10ed8ca0441cc6397.tar.gz
tor-d07122ba4741897967d110b10ed8ca0441cc6397.zip
r17246@catbus: nickm | 2007-12-18 18:45:17 -0500
Fix some xxx020 items. svn:r12864
Diffstat (limited to 'src/or/dirvote.c')
-rw-r--r--src/or/dirvote.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 9734880f63..7201af804a 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -46,8 +46,10 @@ format_networkstatus_vote(crypto_pk_env_t *private_signing_key,
MAX_NICKNAME_LEN+BASE64_DIGEST_LEN*2+ISO_TIME_LEN+INET_NTOA_BUF_LEN+ \
5*2 /* ports */ + 10 /* punctuation */ + \
/* second line */ \
- (LONGEST_STATUS_FLAG_NAME_LEN+1)*N_STATUS_FLAGS + 2)
-/* XXX020 RS_ENTRY_LEN should probably include space for v lines */
+ (LONGEST_STATUS_FLAG_NAME_LEN+1)*N_STATUS_FLAGS + 2 + \
+ /* v line. XXXX020 not accurate! */ \
+ 80 \
+ )
size_t len;
char *status = NULL;