diff options
author | irungentoo <irungentoo@tox.im> | 2014-02-22 07:51:58 -0500 |
---|---|---|
committer | irungentoo <irungentoo@tox.im> | 2014-02-22 07:51:58 -0500 |
commit | a81cec05982ecd46258b9d9c434e3bd6d69b9f1a (patch) | |
tree | 3dd3b584858aa50e546227ee21854ff44bd47a58 /toxcore | |
parent | 6992e8c75986e7c32b795cb854a5c73d00e9a8f4 (diff) | |
parent | 298f832feb3ae973191a0674654ac382e3d89cbf (diff) |
Merge pull request #758 from nurupo/api-fix-1
Fixed the size function for self status message
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. |