From d07122ba4741897967d110b10ed8ca0441cc6397 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 18 Dec 2007 23:45:24 +0000 Subject: r17246@catbus: nickm | 2007-12-18 18:45:17 -0500 Fix some xxx020 items. svn:r12864 --- src/or/dirvote.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/or/dirvote.c') diff --git a/src/or/dirvote.c b/src/or/dirvote.c index 9734880f6..7201af804 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; -- cgit v1.2.3