From: Remi Gacogne Date: Thu, 5 Aug 2021 07:20:40 +0000 (+0200) Subject: Work around a formatting oddity X-Git-Tag: dnsdist-1.7.0-alpha1~61^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6773ff833c08b3188cb3767b96383dc820f8d65f;p=thirdparty%2Fpdns.git Work around a formatting oddity --- 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);