[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] fix a const warning
commit 5c53a0f867cd3628e37ccffa30b3a534a8f0c74a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Wed Sep 7 15:06:01 2011 -0400
fix a const warning
---
src/or/router.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/or/router.c b/src/or/router.c
index 07a6599..ba6648b 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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits