summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-05-27 14:45:44 -0400
committerNick Mathewson <nickm@torproject.org>2009-05-31 19:15:36 -0400
commite8ac2a84774214596b031599e134cb4fa886dd1f (patch)
treec62afa69b36b7be4d0e22b2fe8c39ebcb449057a /src/or/routerlist.c
parentfd992deeea769721dc95bacb40ea360ef42f76dd (diff)
downloadtor-e8ac2a84774214596b031599e134cb4fa886dd1f.tar.gz
tor-e8ac2a84774214596b031599e134cb4fa886dd1f.zip
Make the second argument to routerset_contains_extendinfo const
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index ed7f2f7a11..d8165e63bd 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -5119,7 +5119,7 @@ routerset_contains(const routerset_t *set, const tor_addr_t *addr,
/** Return true iff we can tell that <b>ei</b> is a member of <b>set</b>. */
int
-routerset_contains_extendinfo(const routerset_t *set, extend_info_t *ei)
+routerset_contains_extendinfo(const routerset_t *set, const extend_info_t *ei)
{
return routerset_contains(set,
&ei->addr,