diff options
Diffstat (limited to 'testing/toxic/main.c')
-rw-r--r-- | testing/toxic/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/toxic/main.c b/testing/toxic/main.c index 27e3d858..b2310c80 100644 --- a/testing/toxic/main.c +++ b/testing/toxic/main.c | |||
@@ -69,7 +69,7 @@ void on_nickchange(int friendnumber, uint8_t *string, uint16_t length) | |||
69 | } | 69 | } |
70 | } | 70 | } |
71 | 71 | ||
72 | void on_statuschange(int friendnumber, USERSTATUS_KIND kind, uint8_t *string, uint16_t length) | 72 | void on_statuschange(int friendnumber, uint8_t *string, uint16_t length) |
73 | { | 73 | { |
74 | wprintw(prompt->window, "\n(statuschange) %d: %s\n", friendnumber, string); | 74 | wprintw(prompt->window, "\n(statuschange) %d: %s\n", friendnumber, string); |
75 | int i; | 75 | int i; |
@@ -113,7 +113,7 @@ static void init_tox() | |||
113 | m_callback_friendrequest(on_request); | 113 | m_callback_friendrequest(on_request); |
114 | m_callback_friendmessage(on_message); | 114 | m_callback_friendmessage(on_message); |
115 | m_callback_namechange(on_nickchange); | 115 | m_callback_namechange(on_nickchange); |
116 | m_callback_userstatus(on_statuschange); | 116 | m_callback_statusmessage(on_statuschange); |
117 | } | 117 | } |
118 | 118 | ||
119 | void init_window_status() | 119 | void init_window_status() |