From 8ddc2df662afff8a547371c93d5b5655f8f3de2f Mon Sep 17 00:00:00 2001 From: iphydf Date: Tue, 7 Apr 2020 19:17:58 +0000 Subject: Remove newlines from the end of LOGGER format strings. See https://github.com/TokTok/hs-tokstyle/pull/49 for the corresponding tokstyle analysis. --- toxcore/tox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'toxcore/tox.c') 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 return STATE_LOAD_STATUS_END; } - LOGGER_ERROR(tox->m->log, "Load state: contains unrecognized part (len %u, type %u)\n", + LOGGER_ERROR(tox->m->log, "Load state: contains unrecognized part (len %u, type %u)", length, type); return STATE_LOAD_STATUS_CONTINUE; -- cgit v1.2.3