diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-04-26 10:36:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-04-26 10:36:49 -0400 |
commit | 1d44ac9acd6264141615b5fce6d537544dc6f52e (patch) | |
tree | d945147e0593271bcc77a34f048c937cb3087b9b /src/test/test_circuitbuild.c | |
parent | efeb101b968fe6604ff97604afe527a36b94cfc9 (diff) | |
download | tor-1d44ac9acd6264141615b5fce6d537544dc6f52e.tar.gz tor-1d44ac9acd6264141615b5fce6d537544dc6f52e.zip |
Make nodelist_get_list() return a const pointer.
Diffstat (limited to 'src/test/test_circuitbuild.c')
-rw-r--r-- | src/test/test_circuitbuild.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_circuitbuild.c b/src/test/test_circuitbuild.c index 27f2cd1ca5..47218a559a 100644 --- a/src/test/test_circuitbuild.c +++ b/src/test/test_circuitbuild.c @@ -21,7 +21,7 @@ static smartlist_t dummy_nodes; static extend_info_t dummy_ei; static int -mock_count_acceptable_nodes(smartlist_t *nodes, int direct) +mock_count_acceptable_nodes(const smartlist_t *nodes, int direct) { (void)nodes; |