aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorpowwow@askgustav.com <powwow@askgustav.com>2020-05-23 09:29:18 (GMT)
committerpowwow@askgustav.com <powwow@askgustav.com>2020-05-23 09:29:18 (GMT)
commitdf019a5895f7dd2d895c9a08503ce15965196e91 (patch)
treee93e64c68417cc812d5e4474b9ce683184dac733 /src
parent5625d2cbf23ae63e58c718fdc997a5eeaee0ec88 (diff)
downloadpowwow-df019a5895f7dd2d895c9a08503ce15965196e91.zip
powwow-df019a5895f7dd2d895c9a08503ce15965196e91.tar.gz
powwow-df019a5895f7dd2d895c9a08503ce15965196e91.tar.bz2
remove extraneous newlines in capture files
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;
}
}
}