diff options
Diffstat (limited to 'src/or/parsecommon.c')
-rw-r--r-- | src/or/parsecommon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/parsecommon.c b/src/or/parsecommon.c index e7d01a5029..cd1a0c2521 100644 --- a/src/or/parsecommon.c +++ b/src/or/parsecommon.c @@ -426,7 +426,7 @@ find_by_keyword_(smartlist_t *s, directory_keyword keyword, * NULL if no such keyword is found. */ directory_token_t * -find_opt_by_keyword(smartlist_t *s, directory_keyword keyword) +find_opt_by_keyword(const smartlist_t *s, directory_keyword keyword) { SMARTLIST_FOREACH(s, directory_token_t *, t, if (t->tp == keyword) return t); return NULL; |