diff options
author | Reinhard Tartler <siretart@tauware.de> | 2018-02-20 21:49:13 -0500 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2018-02-20 21:49:13 -0500 |
commit | f28f88e5e72ba1499409047a9d6985eb312c0232 (patch) | |
tree | c9c267f18264b3dfe715a363935bb6ac20904492 /test/compress/testcompress.cpp | |
parent | e19a5db232e1ef90e9a02159d2fbd9707ffe4373 (diff) | |
parent | 6d7e9562e8485591a4888f1fc2d3c6c657dc7a01 (diff) |
Merge tag 'BoxBackup-0.12.master.180102.6d7e956' into upstream
Diffstat (limited to 'test/compress/testcompress.cpp')
-rw-r--r-- | test/compress/testcompress.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/compress/testcompress.cpp b/test/compress/testcompress.cpp index 4a522d31..76512e6a 100644 --- a/test/compress/testcompress.cpp +++ b/test/compress/testcompress.cpp @@ -47,9 +47,10 @@ public: return 0; } - void Write(const void *pBuffer, int NBytes) + void Write(const void *pBuffer, int NBytes, + int Timeout = IOStream::TimeOutInfinite) { - buffers[(currentBuffer + 1) & 1].Write(pBuffer, NBytes); + buffers[(currentBuffer + 1) & 1].Write(pBuffer, NBytes, Timeout); } bool StreamDataLeft() { |