Преглед изворни кода

apparently or_options_t likes being a const in master

Roger Dingledine пре 14 година
родитељ
комит
58764d8ec6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/or/dirserv.c

+ 1 - 1
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;