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