mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 20:33:31 +01:00
test/sr: update sr_state_free() to sr_state_free_all()
The function name changed between 0.2.9 and 0.3.4.
This commit is contained in:
parent
c7854933e9
commit
dfc3e552a3
@ -548,7 +548,7 @@ test_encoding(void *arg)
|
|||||||
/** Setup some SRVs in our SR state. If <b>also_current</b> is set, then set
|
/** Setup some SRVs in our SR state. If <b>also_current</b> is set, then set
|
||||||
* both current and previous SRVs.
|
* both current and previous SRVs.
|
||||||
* Helper of test_vote() and test_sr_compute_srv().
|
* Helper of test_vote() and test_sr_compute_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). */
|
* function (on pass or fail). */
|
||||||
static void
|
static void
|
||||||
test_sr_setup_srv(int also_current)
|
test_sr_setup_srv(int also_current)
|
||||||
@ -1299,7 +1299,7 @@ test_utils_auth(void *arg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
done:
|
done:
|
||||||
sr_state_free();
|
sr_state_free_all();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user