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/networkstatus.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/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index d1069940ca..864258583c 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1206,6 +1206,7 @@ networkstatus_get_live_consensus(time_t now) /* XXXX020 remove this in favor of get_live_consensus. But actually, * leave something like it for bridge users, who need to not totally * lose if they spend a while fetching a new consensus. */ +/** DOCDOC */ networkstatus_t * networkstatus_get_reasonably_live_consensus(time_t now) { @@ -1781,8 +1782,7 @@ signed_descs_update_status_from_consensus_networkstatus(smartlist_t *descs) char * networkstatus_getinfo_helper_single(routerstatus_t *rs) { - char buf[256]; - /* XXX020 that 256 above sounds a lot like RS_ENTRY_LEN in dirvote.c */ + char buf[RS_ENTRY_LEN+1]; routerstatus_format_entry(buf, sizeof(buf), rs, NULL, 0); return tor_strdup(buf); } |