Browse Source

fix a const warning

Nick Mathewson 12 years ago
parent
commit
5c53a0f867
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/router.c

+ 1 - 1
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;