summaryrefslogtreecommitdiff
path: root/auto_tests/toxav_many_test.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-06-10 18:35:55 -0400
committerirungentoo <irungentoo@gmail.com>2014-06-10 18:35:55 -0400
commit07936960dfa527dfa99cb518217218948d552955 (patch)
tree27ce2c7782f758e6ffb79cee55ed0c6e0113903c /auto_tests/toxav_many_test.c
parent99d594014014a37fdee9e83575a8895400c9cd60 (diff)
Astyle and fixes.
Diffstat (limited to 'auto_tests/toxav_many_test.c')
-rw-r--r--auto_tests/toxav_many_test.c2
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
55void accept_friend_request(Tox *m, uint8_t *public_key, uint8_t *data, uint16_t length, void *userdata) 55void 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);