aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/log.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}
}