aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-02-15 13:51:34 -0500
committerDavid Goulet <dgoulet@torproject.org>2018-02-15 13:51:34 -0500
commit9af5b625e8be64ed63ad5b19ae6c4b450e977ce0 (patch)
tree002b0236d9b9511a575d8678760d2978de8118ab /src/or/networkstatus.c
parent6b1dba214db3058b143bbb4d4c4bdfee32d100f1 (diff)
downloadtor-9af5b625e8be64ed63ad5b19ae6c4b450e977ce0.tar.gz
tor-9af5b625e8be64ed63ad5b19ae6c4b450e977ce0.zip
cmux: Rename cell_ewma_set_scale_factor()
It is rename to something more meaningful that explains what it does exactly which is sets the EWMA options (currently only one exists). The new name is cmux_ewma_set_options(). Also, remove a public function from circuitmux_ewma.h that is only used in the C file. Make it static inline as well. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 80cdc9e5b4..3455a7bb64 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -2003,7 +2003,7 @@ networkstatus_set_current_consensus(const char *consensus,
update_consensus_networkstatus_fetch_time(now);
/* Change the cell EWMA settings */
- cell_ewma_set_scale_factor(options, c);
+ cmux_ewma_set_options(options, c);
/* XXXX this call might be unnecessary here: can changing the
* current consensus really alter our view of any OR's rate limits? */