1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 11:56:44 +02:00

API update

This commit is contained in:
Jfreegman
2014-03-18 21:48:26 -04:00
parent 8bea44a44c
commit 50a37495f8
12 changed files with 86 additions and 94 deletions

View File

@ -103,7 +103,7 @@ void cmd_add(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MAX
snprintf(msg, sizeof(msg), "%s", temp);
} else {
uint8_t selfname[TOX_MAX_NAME_LENGTH];
tox_get_self_name(m, selfname, TOX_MAX_NAME_LENGTH);
tox_get_self_name(m, selfname);
snprintf(msg, sizeof(msg), "Hello, my name is %s. Care to Tox?", selfname);
}