From: Tomek Mrugalski Date: Fri, 8 Sep 2017 21:44:03 +0000 (+0200) Subject: [5357] Stupid warning removed X-Git-Tag: trac5073a_base~9^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=953ded7679e1fdb8da3cb5e8e02b817713c29f4e;p=thirdparty%2Fkea.git [5357] Stupid warning removed --- diff --git a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc index 8efddd0d32..19500b540f 100644 --- a/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc +++ b/src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc @@ -1328,7 +1328,7 @@ TEST_F(CtrlChannelDhcpv4SrvTest, longResponse) { while (response.tellp() < long_response_size) { std::string partial; const unsigned int timeout = 5; - ASSERT_TRUE(client->getResponse(partial, 5)); + ASSERT_TRUE(client->getResponse(partial, timeout)); response << partial; } diff --git a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc index a34a4a8572..9e24fdb249 100644 --- a/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc +++ b/src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc @@ -1349,7 +1349,7 @@ TEST_F(CtrlChannelDhcpv6SrvTest, longResponse) { while (response.tellp() < long_response_size) { std::string partial; const unsigned int timeout = 5; - ASSERT_TRUE(client->getResponse(partial, 5)); + ASSERT_TRUE(client->getResponse(partial, timeout)); response << partial; }