From 36e201dffc5d57d92113e1e68ad4b6a0a7b3471e Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 29 Jun 2016 15:32:51 -0400 Subject: prop250: Add a DEL state action and return const SRVs The *get* state query functions for the SRVs now only return const pointers and the DEL action needs to be used to delete the SRVs from the state. Signed-off-by: David Goulet --- src/or/shared_random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/shared_random.c') diff --git a/src/or/shared_random.c b/src/or/shared_random.c index 5cdf3d0287..7a0273d495 100644 --- a/src/or/shared_random.c +++ b/src/or/shared_random.c @@ -589,7 +589,7 @@ STATIC int should_keep_commit(const sr_commit_t *commit, const char *voter_key, sr_phase_t phase) { - sr_commit_t *saved_commit; + const sr_commit_t *saved_commit; tor_assert(commit); tor_assert(voter_key); -- cgit v1.2.3-54-g00ecf