apparently or_options_t likes being a const in master

This commit is contained in:
Roger Dingledine 2011-11-21 18:42:07 -05:00
parent 6a76007b08
commit 58764d8ec6

View File

@ -1864,7 +1864,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
long *tks;
double *mtbfs, *wfus;
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 */
stable_uptime = 0;