aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-29 01:35:08 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-01 18:14:27 -0400
commit6dd7f85bc7fa9887736feb7604e76d7226d03ca5 (patch)
tree8c67dcbb38ca53b2d60f38c3f71dec0ab944d6e6 /src/or/nodelist.c
parentd84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8 (diff)
downloadtor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.tar.gz
tor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.zip
Try to make most routerstatus_t interfaces const
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 9c8714c354..b620b408ea 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -122,7 +122,7 @@ nodelist_add_microdesc(microdesc_t *md)
{
networkstatus_t *ns =
networkstatus_get_latest_consensus_by_flavor(FLAV_MICRODESC);
- routerstatus_t *rs;
+ const routerstatus_t *rs;
node_t *node;
if (ns == NULL)
return NULL;