summaryrefslogtreecommitdiff
path: root/src/or/parsecommon.c
diff options
context:
space:
mode:
authorGeorge Kadianakis <desnacked@riseup.net>2017-08-04 23:35:04 +0300
committerNick Mathewson <nickm@torproject.org>2017-08-08 20:29:34 -0400
commit471489ca035a50733205f97c8d589d80c58e36e8 (patch)
tree8c4bf1c14068650211850f0bda57ba08fc6fe988 /src/or/parsecommon.c
parenta464d49aeb66ad2daa6b753c34ceadfe0b391490 (diff)
downloadtor-471489ca035a50733205f97c8d589d80c58e36e8.tar.gz
tor-471489ca035a50733205f97c8d589d80c58e36e8.zip
Extract intro point onion key even with multiple types.
Diffstat (limited to 'src/or/parsecommon.c')
-rw-r--r--src/or/parsecommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/parsecommon.c b/src/or/parsecommon.c
index 7959867875..6b5359303a 100644
--- a/src/or/parsecommon.c
+++ b/src/or/parsecommon.c
@@ -436,7 +436,7 @@ find_opt_by_keyword(smartlist_t *s, directory_keyword keyword)
* in the same order in which they occur in <b>s</b>. Otherwise return
* NULL. */
smartlist_t *
-find_all_by_keyword(smartlist_t *s, directory_keyword k)
+find_all_by_keyword(const smartlist_t *s, directory_keyword k)
{
smartlist_t *out = NULL;
SMARTLIST_FOREACH(s, directory_token_t *, t,