diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-13 10:22:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-13 10:22:34 -0400 |
commit | 223747804568635a9b66f687a71c8a96cca51e91 (patch) | |
tree | 74bf6c4761b963e71516ec0ed74f6deee38dd12b /src | |
parent | 9f0cb5af1559d4dab0a49017bdd5f37b0af588f8 (diff) | |
download | tor-223747804568635a9b66f687a71c8a96cca51e91.tar.gz tor-223747804568635a9b66f687a71c8a96cca51e91.zip |
options/validate__single_onion test: use new log capture api
I changed the API here in deb294ff532d074a7d4, to be less annoying
to use.
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_options.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_options.c b/src/test/test_options.c index 9ce7c420a0..1439f95305 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -2756,7 +2756,7 @@ test_options_validate__single_onion(void *ignored) int ret; char *msg; options_test_data_t *tdata = NULL; - int previous_log = setup_capture_of_logs(LOG_WARN); + setup_capture_of_logs(LOG_WARN); /* Test that HiddenServiceSingleHopMode must come with * HiddenServiceNonAnonymousMode */ @@ -2892,7 +2892,7 @@ test_options_validate__single_onion(void *ignored) done: policies_free_all(); - teardown_capture_of_logs(previous_log); + teardown_capture_of_logs(); free_options_test_data(tdata); tor_free(msg); } |