mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 12:23:32 +01:00
Make input argument const in set_routerstatus_from_routerinfo.
This commit is contained in:
parent
32213fa9ad
commit
417a324a85
@ -95,7 +95,7 @@ real_uptime(const routerinfo_t *router, time_t now)
|
||||
*/
|
||||
static int
|
||||
dirserv_thinks_router_is_unreliable(time_t now,
|
||||
routerinfo_t *router,
|
||||
const routerinfo_t *router,
|
||||
int need_uptime, int need_capacity)
|
||||
{
|
||||
if (need_uptime) {
|
||||
@ -541,7 +541,7 @@ dirserv_set_router_is_running(routerinfo_t *router, time_t now)
|
||||
void
|
||||
set_routerstatus_from_routerinfo(routerstatus_t *rs,
|
||||
node_t *node,
|
||||
routerinfo_t *ri,
|
||||
const routerinfo_t *ri,
|
||||
time_t now,
|
||||
int listbadexits)
|
||||
{
|
||||
|
@ -19,7 +19,8 @@ int running_long_enough_to_decide_unreachable(void);
|
||||
|
||||
void set_routerstatus_from_routerinfo(routerstatus_t *rs,
|
||||
node_t *node,
|
||||
routerinfo_t *ri, time_t now,
|
||||
const routerinfo_t *ri,
|
||||
time_t now,
|
||||
int listbadexits);
|
||||
|
||||
void dirserv_compute_performance_thresholds(digestmap_t *omit_as_sybil);
|
||||
|
Loading…
Reference in New Issue
Block a user