diff options
author | sin <sin@2f30.org> | 2014-10-07 01:48:18 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-10-07 01:48:18 +0100 |
commit | 5329d7c4589774fd8f712f19d98a049053b67f55 (patch) | |
tree | 0a99c03bbb893633718a9e7ef496db12ee609d5d /ratox.c | |
parent | fb584f7676a14bc3889f48bdc4b95af3e84f1f37 (diff) |
Send the actual message when initiating the friend request
Diffstat (limited to 'ratox.c')
-rw-r--r-- | ratox.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1468,7 +1468,7 @@ out: } str2id(buf, id); - r = tox_add_friend(tox, id, (uint8_t *)buf, strlen(buf)); + r = tox_add_friend(tox, id, (uint8_t *)msg, strlen(msg)); ftruncate(gslots[REQUEST].fd[ERR], 0); lseek(gslots[REQUEST].fd[ERR], 0, SEEK_SET); |