diff options
author | iphydf <iphydf@users.noreply.github.com> | 2020-04-07 19:17:58 +0000 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2020-04-07 19:17:58 +0000 |
commit | 8ddc2df662afff8a547371c93d5b5655f8f3de2f (patch) | |
tree | 75035b2a431c53520fee02dba9842575de8a7a4c /toxav/rtp.c | |
parent | dfe19e04d3fd47aaf8035451491ff97155fc8cb4 (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 'toxav/rtp.c')
-rw-r--r-- | toxav/rtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toxav/rtp.c b/toxav/rtp.c index aed9523b..f48c483b 100644 --- a/toxav/rtp.c +++ b/toxav/rtp.c | |||
@@ -256,7 +256,7 @@ static bool fill_data_into_slot(const Logger *log, struct RTPWorkBufferList *wkb | |||
256 | struct RTPMessage *msg = (struct RTPMessage *)calloc(1, sizeof(struct RTPMessage) + header->data_length_full); | 256 | struct RTPMessage *msg = (struct RTPMessage *)calloc(1, sizeof(struct RTPMessage) + header->data_length_full); |
257 | 257 | ||
258 | if (msg == nullptr) { | 258 | if (msg == nullptr) { |
259 | LOGGER_ERROR(log, "Out of memory while trying to allocate for frame of size %u\n", | 259 | LOGGER_ERROR(log, "Out of memory while trying to allocate for frame of size %u", |
260 | (unsigned)header->data_length_full); | 260 | (unsigned)header->data_length_full); |
261 | // Out of memory: throw away the incoming data. | 261 | // Out of memory: throw away the incoming data. |
262 | return false; | 262 | return false; |