From 6773ff833c08b3188cb3767b96383dc820f8d65f Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 5 Aug 2021 09:20:40 +0200 Subject: [PATCH] Work around a formatting oddity --- pdns/test-mplexer.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/test-mplexer.cc b/pdns/test-mplexer.cc index 8ac9df3546..e1928af0ba 100644 --- a/pdns/test-mplexer.cc +++ b/pdns/test-mplexer.cc @@ -15,7 +15,7 @@ BOOST_AUTO_TEST_CASE(test_getMultiplexerSilent) auto mplexer = std::unique_ptr(FDMultiplexer::getMultiplexerSilent()); BOOST_REQUIRE(mplexer != nullptr); - struct timeval now{0,0}; + struct timeval now = {0, 0}; int ready = mplexer->run(&now, 100); BOOST_CHECK_EQUAL(ready, 0); BOOST_CHECK(now.tv_sec != 0); @@ -28,7 +28,7 @@ BOOST_AUTO_TEST_CASE(test_MPlexer) BOOST_REQUIRE(mplexer != nullptr); //cerr<<"Testing multiplexer "<getName()<run(&now, 100); BOOST_CHECK_EQUAL(ready, 0); BOOST_CHECK(now.tv_sec != 0); -- 2.47.2