From 7ee84ce5e1e8f21714016549ceb65dcc7a1224cd Mon Sep 17 00:00:00 2001 From: AZ Huang Date: Fri, 29 Nov 2013 23:38:43 +0800 Subject: [PATCH] Fix typo. --- src/global_commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/global_commands.c b/src/global_commands.c index a81aff7..785a3c2 100644 --- a/src/global_commands.c +++ b/src/global_commands.c @@ -202,7 +202,7 @@ void cmd_myid(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*argv)[MA { char id[TOX_FRIEND_ADDRESS_SIZE * 2 + 1] = {0}; uint8_t address[TOX_FRIEND_ADDRESS_SIZE]; - tox_add_address(m, address); + tox_get_address(m, address); size_t i;