diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-20 00:36:59 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-02-20 00:36:59 -0500 |
commit | 9f044eac77ee2245de71283e71361346ee194f25 (patch) | |
tree | 3cd990ec50c30158ad6a4a7a0bd21ef598b96ab4 /src/or/dirserv.c | |
parent | 337e32f5b8f5f3b310da20bf0135f17d06efb3ab (diff) | |
download | tor-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