diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-09-08 19:49:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-09-08 19:49:21 -0400 |
commit | 63e34e9e49e8514e2edfdc8e964bfc5752ca6326 (patch) | |
tree | 2bac3b0ec07dda1b98a752cf448e54b9f1a12141 /src/test/test_util.c | |
parent | 55713f0d790378e2788c9bec1d26134838af739a (diff) | |
download | tor-63e34e9e49e8514e2edfdc8e964bfc5752ca6326.tar.gz tor-63e34e9e49e8514e2edfdc8e964bfc5752ca6326.zip |
Reinstate a couple of teardown_capture_of_logs that I missed
Patch from rubiate. See #19999
Diffstat (limited to 'src/test/test_util.c')
-rw-r--r-- | src/test/test_util.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/test_util.c b/src/test/test_util.c index 5949eb9af9..224ec7bd55 100644 --- a/src/test/test_util.c +++ b/src/test/test_util.c @@ -262,7 +262,6 @@ test_util_time(void *arg) time_t t_res; int i; struct timeval tv; - int old_log_level = 0; /* Test tv_udiff and tv_mdiff */ @@ -1112,8 +1111,7 @@ test_util_time(void *arg) #undef CHECK_TIMEGM_ARG_OUT_OF_RANGE done: - if (old_log_level) - teardown_capture_of_logs(); + teardown_capture_of_logs(); } static void |