summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Rouesnel <w.rouesnel@gmail.com>2014-12-09 10:12:23 +1100
committerWill Rouesnel <w.rouesnel@gmail.com>2014-12-09 11:00:24 +1100
commitd595a28b494ee2e3c06824f9263fec4dea408658 (patch)
tree1bdec32f20b555dbbf8aba715945e64bc235f274
parent8a56cb3b5814d8152613fefb74a11bb28dc70f7a (diff)
Patch auto_tests/tox_test.c with the new prototype
-rw-r--r--auto_tests/tox_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto_tests/tox_test.c b/auto_tests/tox_test.c
index 65ce304c..c78bc1f5 100644
--- a/auto_tests/tox_test.c
+++ b/auto_tests/tox_test.c
@@ -70,7 +70,8 @@ void print_typingchange(Tox *m, int friendnumber, uint8_t typing, void *userdata
70 70
71uint32_t custom_packet; 71uint32_t custom_packet;
72 72
73int handle_custom_packet(void *object, const uint8_t *data, uint32_t len) 73int handle_custom_packet(Tox* m, uint32_t friend_num, const uint8_t *data,
74 uint32_t len, void* object)
74{ 75{
75 uint8_t number = *((uint32_t *)object); 76 uint8_t number = *((uint32_t *)object);
76 77