diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2010-11-13 22:25:19 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2010-11-15 12:51:51 +0100 |
commit | cec21652a7c939d1112591347e35c0815de63f93 (patch) | |
tree | 2e751f82e99229b9fb2044e4fc21d7bc9b169952 /src/or/rephist.h | |
parent | dbba84c917279c8c58b1bfdac37fbcdfd84b7bb7 (diff) | |
download | tor-cec21652a7c939d1112591347e35c0815de63f93.tar.gz tor-cec21652a7c939d1112591347e35c0815de63f93.zip |
Try harder not to exceed the 50 KB extra-info descriptor limit.
Our checks that we don't exceed the 50 KB size limit of extra-info
descriptors apparently failed. This patch fixes these checks and reserves
another 250 bytes for appending the signature. Fixes bug 2183.
Diffstat (limited to 'src/or/rephist.h')
-rw-r--r-- | src/or/rephist.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/rephist.h b/src/or/rephist.h index c3914dcaf2..8f5a34dacf 100644 --- a/src/or/rephist.h +++ b/src/or/rephist.h @@ -28,7 +28,7 @@ void rep_hist_note_dir_bytes_read(size_t num_bytes, time_t when); void rep_hist_note_dir_bytes_written(size_t num_bytes, time_t when); int rep_hist_bandwidth_assess(void); -char *rep_hist_get_bandwidth_lines(int for_extrainfo); +char *rep_hist_get_bandwidth_lines(void); void rep_hist_update_state(or_state_t *state); int rep_hist_load_state(or_state_t *state, char **err); void rep_history_clean(time_t before); |