mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed the size function for self status message
This commit is contained in:
parent
36adc48b78
commit
298f832feb
|
@ -254,7 +254,7 @@ int tox_get_status_message_size(Tox *tox, int32_t friendnumber)
|
||||||
int tox_get_self_status_message_size(Tox *tox)
|
int tox_get_self_status_message_size(Tox *tox)
|
||||||
{
|
{
|
||||||
Messenger *m = 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.
|
/* Copy friendnumber's status message into buf, truncating if size is over maxlen.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user