aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2019-03-18 11:28:34 +1000
committerteor <teor@torproject.org>2019-03-18 11:28:34 +1000
commitaec6ee201bbf63f54bcf879de10addf00779504c (patch)
treef586cdceb837493ec2cddb69107826b9669ffb69
parent1d0146e2a23180d6c3764fd51a29f84a4127d58e (diff)
downloadtor-aec6ee201bbf63f54bcf879de10addf00779504c.tar.gz
tor-aec6ee201bbf63f54bcf879de10addf00779504c.zip
test/sr: update sr_state_free() to sr_state_free_all() in a comment
-rw-r--r--src/test/test_shared_random.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 2d07eb2198..630883e1fb 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -551,7 +551,7 @@ test_encoding(void *arg)
* If <b>also_current</b> is set, then set both current and previous SRVs.
* Otherwise, just set the previous SRV. (And clear the current SRV.)
*
- * You must call sr_state_free() to free the state at the end of each test
+ * You must call sr_state_free_all() to free the state at the end of each test
* function (on pass or fail). */
static void
test_sr_setup_srv(int also_current)