summaryrefslogtreecommitdiff
path: root/src/or/hs_cache.h
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2016-09-15 14:13:18 -0400
committerDavid Goulet <dgoulet@torproject.org>2016-11-04 10:32:50 -0400
commit3f29688bdff3d6aa0b47ee7080995f44dbb579de (patch)
tree00996e5852b4dfbc708eaa82834ea0d6cc11818b /src/or/hs_cache.h
parent1263f74a12abfb7f3e9b9627fd1d37cb125b8429 (diff)
downloadtor-3f29688bdff3d6aa0b47ee7080995f44dbb579de.tar.gz
tor-3f29688bdff3d6aa0b47ee7080995f44dbb579de.zip
prop224: Use a const pointer for the cache lookup entry
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_cache.h')
-rw-r--r--src/or/hs_cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/hs_cache.h b/src/or/hs_cache.h
index 466c33db09..88f84c1270 100644
--- a/src/or/hs_cache.h
+++ b/src/or/hs_cache.h
@@ -48,7 +48,7 @@ size_t hs_cache_handle_oom(time_t now, size_t min_remove_bytes);
* right function. */
int hs_cache_store_as_dir(const char *desc);
int hs_cache_lookup_as_dir(uint32_t version, const char *query,
- char **desc_out);
+ const char **desc_out);
#ifdef HS_CACHE_PRIVATE