Compare commits

..

No commits in common. "f0c33e2ad98818301f60214a942f5057d06bcf11" and "b5c18ace38f5fe092c343c2f1639fb56fc7cabbb" have entirely different histories.

3 changed files with 4 additions and 4 deletions

2
Cargo.lock generated
View File

@ -110,7 +110,7 @@ checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
[[package]]
name = "logtimes"
version = "1.0.28"
version = "1.0.27"
dependencies = [
"chrono",
]

View File

@ -1,6 +1,6 @@
[package]
name = "logtimes"
version = "1.0.28"
version = "1.0.27"
authors = ["Paul Schulze <p.schulze@avm.de>"]
edition = "2021"

View File

@ -1,7 +1,7 @@
use std::{
env::args,
fs::File,
io::{Error as IoError, ErrorKind, Read, Write, stdin, stdout},
io::{stdin, stdout, Error as IoError, ErrorKind, Read, Write},
};
use chrono::prelude::*;
@ -94,7 +94,7 @@ fn run() -> LogtimesResult {
f.write_all(&linebuf[..end])?;
f.write_all(b"\n")?;
f.flush()?;
}
};
// clear line buffer, so it is fresh for the next line
linebuf.clear();