summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-02-20 00:36:59 -0500
committerNick Mathewson <nickm@torproject.org>2013-02-20 00:36:59 -0500
commit9f044eac77ee2245de71283e71361346ee194f25 (patch)
tree3cd990ec50c30158ad6a4a7a0bd21ef598b96ab4 /src/or/dirserv.c
parent337e32f5b8f5f3b310da20bf0135f17d06efb3ab (diff)
downloadtor-9f044eac77ee2245de71283e71361346ee194f25.tar.gz
tor-9f044eac77ee2245de71283e71361346ee194f25.zip
Refactor format_networkstatus_vote to avoid preallocating a buffer.
This saves a lot of "are we about to overrun the buffer?" checking, and unmoots a bunch of "did we allocate enough" discussion.
Diffstat (limited to 'src/or/dirserv.c')
0 files changed, 0 insertions, 0 deletions