mirror of
https://github.com/akuker/RASCSI.git
synced 2024-11-29 16:49:55 +00:00
Fix error count calculation (#1356)
This commit is contained in:
parent
f7bc77d978
commit
f6d00a0e96
@ -197,7 +197,7 @@ bool SCSIPrinter::WriteByteSequence(span<const uint8_t> buf)
|
|||||||
out.write((const char *)buf.data(), buf.size());
|
out.write((const char *)buf.data(), buf.size());
|
||||||
|
|
||||||
const bool status = out.fail();
|
const bool status = out.fail();
|
||||||
if (!status) {
|
if (status) {
|
||||||
++print_error_count;
|
++print_error_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user