]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
fix a const warning
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Sep 2011 19:06:01 +0000 (15:06 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Sep 2011 19:06:01 +0000 (15:06 -0400)
src/or/router.c

index 07a65999bd62a0df4a0c58480307b4d55eb04c2d..ba6648ba6818e37acaf6a936cfb59197906a2322 100644 (file)
@@ -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;