diff --git a/src/lib_ccx/ccx_encoders_scc.c b/src/lib_ccx/ccx_encoders_scc.c index 37ac07fc..0408d7b2 100644 --- a/src/lib_ccx/ccx_encoders_scc.c +++ b/src/lib_ccx/ccx_encoders_scc.c @@ -1131,7 +1131,7 @@ void write_character(const int fd, const unsigned char character, const bool dis } else { - if (*bytes_written) + if (*bytes_written % 2 == 1) write(fd, " ", 1); fdprintf(fd, "%02x", odd_parity(character));