]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
apparently or_options_t likes being a const in master
authorRoger Dingledine <arma@torproject.org>
Mon, 21 Nov 2011 23:42:07 +0000 (18:42 -0500)
committerRoger Dingledine <arma@torproject.org>
Mon, 21 Nov 2011 23:42:07 +0000 (18:42 -0500)
src/or/dirserv.c

index 64db94df31a284cdc5908d078b5209a05fbd65e3..988506692d8516ca0c5b0759cc7a3ea47bcd1604 100644 (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;