aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2011-11-21 18:42:07 -0500
committerRoger Dingledine <arma@torproject.org>2011-11-21 18:42:07 -0500
commit58764d8ec6799fc5ea91bcbb1655071f869bb753 (patch)
treea695a49780403a143542181414e9a1e7c2174c6c
parent6a76007b089a2ca31b67b2ce15dd28edeb416428 (diff)
downloadtor-58764d8ec6799fc5ea91bcbb1655071f869bb753.tar.gz
tor-58764d8ec6799fc5ea91bcbb1655071f869bb753.zip
apparently or_options_t likes being a const in master
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 64db94df31..988506692d 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -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;