From df019a5895f7dd2d895c9a08503ce15965196e91 Mon Sep 17 00:00:00 2001 From: "powwow@askgustav.com" Date: Sat, 23 May 2020 11:29:18 +0200 Subject: remove extraneous newlines in capture files diff --git a/src/log.c b/src/log.c index b831b6f..32237b8 100644 --- a/src/log.c +++ b/src/log.c @@ -230,6 +230,7 @@ void log_write(char *str, int len, int newline) if (newline) { const char nl[1] = "\n"; fwrite(nl, 1, 1, capturefile); + newline = 0; } } } -- cgit v0.10.2