summaryrefslogtreecommitdiff
path: root/toxcore/tox.c
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2020-04-07 19:17:58 +0000
committeriphydf <iphydf@users.noreply.github.com>2020-04-07 19:17:58 +0000
commit8ddc2df662afff8a547371c93d5b5655f8f3de2f (patch)
tree75035b2a431c53520fee02dba9842575de8a7a4c /toxcore/tox.c
parentdfe19e04d3fd47aaf8035451491ff97155fc8cb4 (diff)
Remove newlines from the end of LOGGER format strings.
See https://github.com/TokTok/hs-tokstyle/pull/49 for the corresponding tokstyle analysis.
Diffstat (limited to 'toxcore/tox.c')
-rw-r--r--toxcore/tox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/tox.c b/toxcore/tox.c
index b70be7a3..fdf2b42c 100644
--- a/toxcore/tox.c
+++ b/toxcore/tox.c
@@ -350,7 +350,7 @@ static State_Load_Status state_load_callback(void *outer, const uint8_t *data, u
350 return STATE_LOAD_STATUS_END; 350 return STATE_LOAD_STATUS_END;
351 } 351 }
352 352
353 LOGGER_ERROR(tox->m->log, "Load state: contains unrecognized part (len %u, type %u)\n", 353 LOGGER_ERROR(tox->m->log, "Load state: contains unrecognized part (len %u, type %u)",
354 length, type); 354 length, type);
355 355
356 return STATE_LOAD_STATUS_CONTINUE; 356 return STATE_LOAD_STATUS_CONTINUE;