summaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2011-09-07 15:06:01 -0400
committerNick Mathewson <nickm@torproject.org>2011-09-07 15:06:01 -0400
commit5c53a0f867cd3628e37ccffa30b3a534a8f0c74a (patch)
treedd76b5edb73c44fe0846c8b94ba2d60f739cfbb6 /src/or
parent1ed1bf7f07350bce0eb4a73f29e1d8a2d7ffdbc8 (diff)
downloadtor-5c53a0f867cd3628e37ccffa30b3a534a8f0c74a.tar.gz
tor-5c53a0f867cd3628e37ccffa30b3a534a8f0c74a.zip
fix a const warning
Diffstat (limited to 'src/or')
-rw-r--r--src/or/router.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/router.c b/src/or/router.c
index 07a65999bd..ba6648ba68 100644
--- a/src/or/router.c
+++ b/src/or/router.c
@@ -1639,7 +1639,7 @@ void
mark_my_descriptor_dirty_if_too_old(time_t now)
{
networkstatus_t *ns;
- routerstatus_t *rs;
+ const routerstatus_t *rs;
const char *retry_fast_reason = NULL; /* Set if we should retry frequently */
const time_t slow_cutoff = now - FORCE_REGENERATE_DESCRIPTOR_INTERVAL;
const time_t fast_cutoff = now - FAST_RETRY_DESCRIPTOR_INTERVAL;