mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
apparently or_options_t likes being a const in master
This commit is contained in:
parent
6a76007b08
commit
58764d8ec6
@ -1864,7 +1864,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
|
|||||||
long *tks;
|
long *tks;
|
||||||
double *mtbfs, *wfus;
|
double *mtbfs, *wfus;
|
||||||
time_t now = time(NULL);
|
time_t now = time(NULL);
|
||||||
or_options_t *options = get_options();
|
const or_options_t *options = get_options();
|
||||||
|
|
||||||
/* initialize these all here, in case there are no routers */
|
/* initialize these all here, in case there are no routers */
|
||||||
stable_uptime = 0;
|
stable_uptime = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user