diff options
author | chriseth <chris@ethereum.org> | 2017-03-02 19:07:50 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-02 19:07:50 +0800 |
commit | ea7f5f96408bbdd06417480ac570f2b289f25581 (patch) | |
tree | 7c9d64846565bae7709b128654414787f888f516 /test/RPCSession.cpp | |
parent | 9f1a67caa5f532e8221b64225abd0b313afca097 (diff) | |
download | dexon-solidity-ea7f5f96408bbdd06417480ac570f2b289f25581.tar.gz dexon-solidity-ea7f5f96408bbdd06417480ac570f2b289f25581.tar.zst dexon-solidity-ea7f5f96408bbdd06417480ac570f2b289f25581.zip |
Style.
Diffstat (limited to 'test/RPCSession.cpp')
-rw-r--r-- | test/RPCSession.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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::milliseconds>(chrono::steady_clock::now() - start).count() < m_readTimeOutMS ); |