diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-29 01:35:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-10-01 18:14:27 -0400 |
commit | 6dd7f85bc7fa9887736feb7604e76d7226d03ca5 (patch) | |
tree | 8c67dcbb38ca53b2d60f38c3f71dec0ab944d6e6 /src/or/dirserv.c | |
parent | d84d20cbb2c8ca8d248378ce21f0d3969f9b5ef8 (diff) | |
download | tor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.tar.gz tor-6dd7f85bc7fa9887736feb7604e76d7226d03ca5.zip |
Try to make most routerstatus_t interfaces const
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r-- | src/or/dirserv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 148147b149..0da12e41df 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -326,7 +326,7 @@ dirserv_router_get_status(const routerinfo_t *router, const char **msg) /** Return true if there is no point in downloading the router described by * <b>rs</b> because this directory would reject it. */ int -dirserv_would_reject_router(routerstatus_t *rs) +dirserv_would_reject_router(const routerstatus_t *rs) { uint32_t res; @@ -1951,7 +1951,7 @@ version_from_platform(const char *platform) */ int routerstatus_format_entry(char *buf, size_t buf_len, - routerstatus_t *rs, const char *version, + const routerstatus_t *rs, const char *version, routerstatus_format_type_t format) { int r; |