diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-29 00:38:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-01 18:14:27 -0400 |
commit | d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8 (patch) | |
tree | b9e5cb86aa7867734fb9fc49f30606ccdc0fb0f4 /src/or/dirserv.h | |
parent | fe309e7ad633bee36e175e600f0b9a0ac18cf981 (diff) | |
download | tor-d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8.tar.gz tor-d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8.zip |
Try to make most routerinfo_t interfaces const
Diffstat (limited to 'src/or/dirserv.h')
-rw-r--r-- | src/or/dirserv.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.h b/src/or/dirserv.h index 94e4e811d6..9be4935a13 100644 --- a/src/or/dirserv.h +++ b/src/or/dirserv.h @@ -99,8 +99,8 @@ void dirserv_orconn_tls_done(const char *address, uint16_t or_port, const char *digest_rcvd, int as_advertised); -int dirserv_should_launch_reachability_test(routerinfo_t *ri, - routerinfo_t *ri_old); +int dirserv_should_launch_reachability_test(const routerinfo_t *ri, + const routerinfo_t *ri_old); void dirserv_single_reachability_test(time_t now, routerinfo_t *router); void dirserv_test_reachability(time_t now); int authdir_wants_to_reject_router(routerinfo_t *ri, const char **msg, |