mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
Add a missing const
This commit is contained in:
parent
a47fdaf9a0
commit
b3d74045ae
@ -655,7 +655,7 @@ command_process_netinfo_cell(cell_t *cell, or_connection_t *conn)
|
|||||||
/* Connect to a trusted dir to trigger a NETINFO cell
|
/* Connect to a trusted dir to trigger a NETINFO cell
|
||||||
* only if we haven't already */
|
* only if we haven't already */
|
||||||
} else if (received_netinfo_from_trusted_dir == 0) {
|
} else if (received_netinfo_from_trusted_dir == 0) {
|
||||||
routerstatus_t *any_trusted_dir =
|
const routerstatus_t *any_trusted_dir =
|
||||||
router_pick_trusteddirserver(NO_AUTHORITY, 0);
|
router_pick_trusteddirserver(NO_AUTHORITY, 0);
|
||||||
tor_addr_t trusted_dir_addr;
|
tor_addr_t trusted_dir_addr;
|
||||||
tor_addr_from_ipv4h(&trusted_dir_addr, any_trusted_dir->addr);
|
tor_addr_from_ipv4h(&trusted_dir_addr, any_trusted_dir->addr);
|
||||||
|
Loading…
Reference in New Issue
Block a user