summaryrefslogtreecommitdiff
path: root/toxav/toxav.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 /toxav/toxav.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 'toxav/toxav.c')
-rw-r--r--toxav/toxav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxav/toxav.c b/toxav/toxav.c
index 8f3c7e01..dda16ecd 100644
--- a/toxav/toxav.c
+++ b/toxav/toxav.c
@@ -918,7 +918,7 @@ bool toxav_video_send_frame(ToxAV *av, uint32_t friend_number, uint16_t width, u
918 918
919 if (vrc != VPX_CODEC_OK) { 919 if (vrc != VPX_CODEC_OK) {
920 pthread_mutex_unlock(call->mutex_video); 920 pthread_mutex_unlock(call->mutex_video);
921 LOGGER_ERROR(av->m->log, "Could not encode video frame: %s\n", vpx_codec_err_to_string(vrc)); 921 LOGGER_ERROR(av->m->log, "Could not encode video frame: %s", vpx_codec_err_to_string(vrc));
922 rc = TOXAV_ERR_SEND_FRAME_INVALID; 922 rc = TOXAV_ERR_SEND_FRAME_INVALID;
923 goto RETURN; 923 goto RETURN;
924 } 924 }
@@ -1308,7 +1308,7 @@ static bool call_prepare_transmission(ToxAVCall *call)
1308 } 1308 }
1309 1309
1310 if (call->active) { 1310 if (call->active) {
1311 LOGGER_WARNING(av->m->log, "Call already active!\n"); 1311 LOGGER_WARNING(av->m->log, "Call already active!");
1312 return true; 1312 return true;
1313 } 1313 }
1314 1314