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