diff options
author | iphydf <iphydf@users.noreply.github.com> | 2016-08-17 10:52:04 +0100 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2016-08-18 00:01:53 +0100 |
commit | a5e35180c7b42d30c82825cd67c8118ce048f65a (patch) | |
tree | b74e8ece4f78a988ab0a1300cc08bd35fcd63662 /testing | |
parent | db22522741cccdeba657776844538c71cf8e8e7a (diff) |
Make tox_callback_friend_name stateless.
See #27 and #40 for details.
Diffstat (limited to 'testing')
-rw-r--r-- | testing/DHT_test.c | 2 | ||||
-rw-r--r-- | testing/nTox.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 1078ce6f..4a4569a8 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -243,7 +243,7 @@ int main(int argc, char *argv[]) | |||
243 | } | 243 | } |
244 | } | 244 | } |
245 | */ | 245 | */ |
246 | networking_poll(dht->net); | 246 | networking_poll(dht->net, NULL); |
247 | 247 | ||
248 | print_clientlist(dht); | 248 | print_clientlist(dht); |
249 | print_friendlist(dht); | 249 | print_friendlist(dht); |
diff --git a/testing/nTox.c b/testing/nTox.c index bbc48831..ba7c2399 100644 --- a/testing/nTox.c +++ b/testing/nTox.c | |||
@@ -1292,7 +1292,7 @@ int main(int argc, char *argv[]) | |||
1292 | 1292 | ||
1293 | tox_callback_friend_request(m, print_request, NULL); | 1293 | tox_callback_friend_request(m, print_request, NULL); |
1294 | tox_callback_friend_message(m, print_message, NULL); | 1294 | tox_callback_friend_message(m, print_message, NULL); |
1295 | tox_callback_friend_name(m, print_nickchange, NULL); | 1295 | tox_callback_friend_name(m, print_nickchange); |
1296 | tox_callback_friend_status_message(m, print_statuschange, NULL); | 1296 | tox_callback_friend_status_message(m, print_statuschange, NULL); |
1297 | tox_callback_group_invite(m, print_invite, NULL); | 1297 | tox_callback_group_invite(m, print_invite, NULL); |
1298 | tox_callback_group_message(m, print_groupmessage, NULL); | 1298 | tox_callback_group_message(m, print_groupmessage, NULL); |