From: Roger Dingledine Date: Mon, 21 Nov 2011 23:42:07 +0000 (-0500) Subject: apparently or_options_t likes being a const in master X-Git-Tag: tor-0.2.3.8-alpha~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58764d8ec6799fc5ea91bcbb1655071f869bb753;p=thirdparty%2Ftor.git apparently or_options_t likes being a const in master --- 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;