From 298f832feb3ae973191a0674654ac382e3d89cbf Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sat, 22 Feb 2014 00:26:48 -0500 Subject: [PATCH] Fixed the size function for self status message --- toxcore/tox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toxcore/tox.c b/toxcore/tox.c index f91879ea..0b430a90 100644 --- a/toxcore/tox.c +++ b/toxcore/tox.c @@ -254,7 +254,7 @@ int tox_get_status_message_size(Tox *tox, int32_t friendnumber) int tox_get_self_status_message_size(Tox *tox) { Messenger *m = tox; - return m_get_self_statusmessage_size(m, friendnumber); + return m_get_self_statusmessage_size(m); } /* Copy friendnumber's status message into buf, truncating if size is over maxlen.