diff options
Diffstat (limited to 'toxcore')
-rw-r--r-- | toxcore/tox.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
254 | int tox_get_self_status_message_size(Tox *tox) | 254 | int tox_get_self_status_message_size(Tox *tox) |
255 | { | 255 | { |
256 | Messenger *m = tox; | 256 | Messenger *m = tox; |
257 | return m_get_self_statusmessage_size(m, friendnumber); | 257 | return m_get_self_statusmessage_size(m); |
258 | } | 258 | } |
259 | 259 | ||
260 | /* Copy friendnumber's status message into buf, truncating if size is over maxlen. | 260 | /* Copy friendnumber's status message into buf, truncating if size is over maxlen. |