diff options
author | Nick Mathewson <nickm@torproject.org> | 2013-02-20 00:55:34 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-04-18 11:04:56 -0400 |
commit | 9246a7ca58d14a975b2788772238c5a7799d54b6 (patch) | |
tree | 90ef397fae2590351a28f14bd18cce311a7dfdd1 /src/or/dirserv.h | |
parent | 9f044eac77ee2245de71283e71361346ee194f25 (diff) | |
download | tor-9246a7ca58d14a975b2788772238c5a7799d54b6.tar.gz tor-9246a7ca58d14a975b2788772238c5a7799d54b6.zip |
Refactor routerstatus_format_entry to avoid character-buffers
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r-- | src/or/dirserv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h index 0caf55f830..bdd97d81ed 100644 --- a/src/or/dirserv.h +++ b/src/or/dirserv.h @@ -129,7 +129,7 @@ size_t dirserv_estimate_data_size(smartlist_t *fps, int is_serverdescs, int compressed); size_t dirserv_estimate_microdesc_size(const smartlist_t *fps, int compressed); -int routerstatus_format_entry(char *buf, size_t buf_len, +char *routerstatus_format_entry( const routerstatus_t *rs, const char *platform, routerstatus_format_type_t format, const vote_routerstatus_t *vrs); |