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/connection_or.c | |
parent | fe309e7ad633bee36e175e600f0b9a0ac18cf981 (diff) | |
download | tor-d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8.tar.gz tor-d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8.zip |
Try to make most routerinfo_t interfaces const
Diffstat (limited to 'src/or/connection_or.c')
-rw-r--r-- | src/or/connection_or.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_or.c b/src/or/connection_or.c index 069c3e133d..ee17282e5e 100644 --- a/src/or/connection_or.c +++ b/src/or/connection_or.c @@ -438,7 +438,7 @@ connection_or_init_conn_from_address(or_connection_t *conn, const char *id_digest, int started_here) { - routerinfo_t *r = router_get_by_digest(id_digest); + const routerinfo_t *r = router_get_by_digest(id_digest); connection_or_set_identity_digest(conn, id_digest); connection_or_update_token_buckets_helper(conn, 1, get_options()); @@ -1491,7 +1491,7 @@ connection_or_send_netinfo(or_connection_t *conn) { cell_t cell; time_t now = time(NULL); - routerinfo_t *me; + const routerinfo_t *me; int len; char *out; |