diff options
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r-- | auto_tests/toxav_many_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/toxav_many_test.c b/auto_tests/toxav_many_test.c index b7f6a0fc..2a931cb0 100644 --- a/auto_tests/toxav_many_test.c +++ b/auto_tests/toxav_many_test.c | |||
@@ -52,7 +52,7 @@ typedef struct _Status { | |||
52 | ACall calls[3]; /* Make 3 calls for this test */ | 52 | ACall calls[3]; /* Make 3 calls for this test */ |
53 | } Status; | 53 | } Status; |
54 | 54 | ||
55 | void accept_friend_request(Tox *m, uint8_t *public_key, uint8_t *data, uint16_t length, void *userdata) | 55 | void accept_friend_request(Tox *m, const uint8_t *public_key, const uint8_t *data, uint16_t length, void *userdata) |
56 | { | 56 | { |
57 | if (length == 7 && memcmp("gentoo", data, 7) == 0) { | 57 | if (length == 7 && memcmp("gentoo", data, 7) == 0) { |
58 | tox_add_friend_norequest(m, public_key); | 58 | tox_add_friend_norequest(m, public_key); |