diff --git a/src/main.rs b/src/main.rs index d412ea6..4fabb6c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,13 +89,13 @@ fn run() -> LogtimesResult { let end = trim_end(&linebuf); out.write_all(&linebuf[..end])?; - out.write_all(&[b'\r', b'\n'])?; + out.write_all(b"\r\n")?; out.flush()?; if let Some(ref mut f) = log_file { print_time(f)?; f.write_all(&linebuf[..end])?; - f.write_all(&[b'\n'])?; + f.write_all(b"\n")?; f.flush()?; };