From 6659e72ab4d3a934c602411f0f2b8f1c0341d5dc Mon Sep 17 00:00:00 2001 From: Nils Andreas Svee Date: Mon, 21 Nov 2022 18:15:25 +0100 Subject: [PATCH] add missing newline to stats dumping --- src/ratecontroller.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ratecontroller.rs b/src/ratecontroller.rs index 450acfb..96bbf42 100644 --- a/src/ratecontroller.rs +++ b/src/ratecontroller.rs @@ -400,7 +400,7 @@ impl Ratecontroller { if let Some(ref mut fd) = stats_fd { if let Err(e) = fd.write( format!( - "{},{},{},{},{},{},{}", + "{},{},{},{},{},{},{}\n", time_format(SystemTime::now(), DUMP_DATETIME_FORMAT), self.state_dl.load, self.state_ul.load,