diff options
Diffstat (limited to 'src/test/test_compat_libevent.c')
-rw-r--r-- | src/test/test_compat_libevent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test_compat_libevent.c b/src/test/test_compat_libevent.c index 5e14be5b33..0443cc0b1c 100644 --- a/src/test/test_compat_libevent.c +++ b/src/test/test_compat_libevent.c @@ -20,7 +20,7 @@ static void test_compat_libevent_logging_callback(void *ignored) { (void)ignored; - int previous_log = setup_full_capture_of_logs(LOG_DEBUG); + setup_full_capture_of_logs(LOG_DEBUG); libevent_logging_callback(_EVENT_LOG_DEBUG, "hello world"); expect_log_msg("Message from libevent: hello world\n"); @@ -106,7 +106,7 @@ test_compat_libevent_logging_callback(void *ignored) done: suppress_libevent_log_msg(NULL); - teardown_capture_of_logs(previous_log); + teardown_capture_of_logs(); } static void |