summaryrefslogtreecommitdiff
path: root/toxcore/Messenger.c
diff options
context:
space:
mode:
authorendoffile78 <endoffile78@yahoo.com>2018-08-04 13:12:07 -0500
committerendoffile78 <endoffile78@yahoo.com>2018-08-04 13:12:07 -0500
commitcd98ec4c165a34093b2a6331dfc1e93861938a4c (patch)
treed4f1b394abe1e0f65a7e260a311529b086c9f961 /toxcore/Messenger.c
parent788fa224a56805cd9b6cab2f1c5c0fd3a90249b1 (diff)
Fix error message in m_send_generic_message
Diffstat (limited to 'toxcore/Messenger.c')
-rw-r--r--toxcore/Messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/Messenger.c b/toxcore/Messenger.c
index ac25d669..a52c07f0 100644
--- a/toxcore/Messenger.c
+++ b/toxcore/Messenger.c
@@ -505,7 +505,7 @@ int m_send_message_generic(Messenger *m, int32_t friendnumber, uint8_t type, con
505 } 505 }
506 506
507 if (length >= MAX_CRYPTO_DATA_SIZE) { 507 if (length >= MAX_CRYPTO_DATA_SIZE) {
508 LOGGER_ERROR(m->log, "Message length %d is too large", friendnumber); 508 LOGGER_ERROR(m->log, "Message length %u is too large", length);
509 return -2; 509 return -2;
510 } 510 }
511 511