summaryrefslogtreecommitdiff
path: root/replay.c
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-05-27 23:01:11 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-05-27 23:01:11 +0100
commit31ce10b31198128de4983667820319a193adb976 (patch)
tree99ff7bc13815f25c13a8d994b7dc28d302e72225 /replay.c
parent4b2cd5c4c349ea3e5683a6b2beb42c518d3ccef3 (diff)
Make debug output optional and disabled by default.
Diffstat (limited to 'replay.c')
-rw-r--r--replay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/replay.c b/replay.c
index 8926c9e..b0b4b26 100644
--- a/replay.c
+++ b/replay.c
@@ -270,7 +270,7 @@ int writereplayline(char *str, char *basedir) {
// Ensure the line finishes with CRLF
appendcrlf(line);
- printf("Complete replay log string to write: '%s', length '%ld'.\n", line, strlen(line));
+ debugprint("Complete replay log string to write: '%s', length '%ld'.\n", line, strlen(line));
// Write complete line to file
if ((bytes = fprintf(fp, line)) < 0) {