diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-02-25 12:32:29 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-02-25 12:32:29 -0500 |
commit | b3d74045ae79544fa8258f54789f83b74851f832 (patch) | |
tree | a7a1bd8a36ce905feacbab95620dd64320fb3a83 /src/or/command.c | |
parent | a47fdaf9a0563de4b1fff4df8aca69d9a225dd1e (diff) | |
download | tor-b3d74045ae79544fa8258f54789f83b74851f832.tar.gz tor-b3d74045ae79544fa8258f54789f83b74851f832.zip |
Add a missing const
Diffstat (limited to 'src/or/command.c')
-rw-r--r-- | src/or/command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/command.c b/src/or/command.c index a13f9ec66e..bfcc1c9864 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -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 * only if we haven't already */ } 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); tor_addr_t trusted_dir_addr; tor_addr_from_ipv4h(&trusted_dir_addr, any_trusted_dir->addr); |