diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/RPCSession.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index caaf9a8c..b3451528 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -89,7 +89,7 @@ string IPCSocket::sendRequest(string const& _req) &cbWritten, // bytes written NULL); // not overlapped - if (!fSuccess) + if (!fSuccess || (_req.size() != cbWritten)) BOOST_FAIL("WriteFile to pipe failed"); // Read from the pipe. |