From ea7f5f96408bbdd06417480ac570f2b289f25581 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 2 Mar 2017 12:07:50 +0100 Subject: Style. --- test/RPCSession.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/RPCSession.cpp') diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index a71ff286..be8774bc 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -118,7 +118,8 @@ string IPCSocket::sendRequest(string const& _req) // Also consider closed socket an error. if (ret < 0) BOOST_FAIL("Reading on IPC failed."); - } while ( + } + while ( ret == 0 && chrono::duration_cast(chrono::steady_clock::now() - start).count() < m_readTimeOutMS ); -- cgit