diff options
author | sin <sin@2f30.org> | 2014-10-02 21:06:45 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-02 21:09:13 +0100 |
commit | 93c3f6321138be7b2eaa9eb9920df7cd8425ca73 (patch) | |
tree | a8657968e36cd2fdd75895c3ebff5531e2c6e757 | |
parent | d0c3a52050c8fdab224b612f4185a40d4d87bd04 (diff) |
Actually fill the status message buffer when creating friends
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1203,7 +1203,7 @@ friendcreate(int32_t frnum) dprintf(f->fd[FONLINE], "%d\n", tox_get_friend_connection_status(tox, frnum)); - r = tox_get_status_message_size(tox, frnum); + r = tox_get_status_message(tox, frnum, status, sizeof(status) - 1); if (r > sizeof(status) - 1) r = sizeof(status) - 1; status[r] = '\0'; |