From e85b4c67372900013faa7793db0f7e664d5bca2e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 3 May 2020 12:35:27 +0300 Subject: fixes #2374 (Update libtox to 0.2.12) --- protocols/Tox/libtox/src/toxcore/ping_array.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/Tox/libtox/src/toxcore/ping_array.h') diff --git a/protocols/Tox/libtox/src/toxcore/ping_array.h b/protocols/Tox/libtox/src/toxcore/ping_array.h index 589573c80f..70c517de9e 100644 --- a/protocols/Tox/libtox/src/toxcore/ping_array.h +++ b/protocols/Tox/libtox/src/toxcore/ping_array.h @@ -39,14 +39,14 @@ struct Ping_Array *ping_array_new(uint32_t size, uint32_t timeout); /** * Free all the allocated memory in a Ping_Array. */ -void ping_array_kill(struct Ping_Array *_array); +void ping_array_kill(struct Ping_Array *array); /** * Add a data with length to the Ping_Array list and return a ping_id. * * @return ping_id on success, 0 on failure. */ -uint64_t ping_array_add(struct Ping_Array *_array, const struct Mono_Time *mono_time, const uint8_t *data, +uint64_t ping_array_add(struct Ping_Array *array, const struct Mono_Time *mono_time, const uint8_t *data, uint32_t length); /** @@ -56,7 +56,7 @@ uint64_t ping_array_add(struct Ping_Array *_array, const struct Mono_Time *mono_ * * @return length of data copied on success, -1 on failure. */ -int32_t ping_array_check(struct Ping_Array *_array, const struct Mono_Time *mono_time, uint8_t *data, size_t length, +int32_t ping_array_check(struct Ping_Array *array, const struct Mono_Time *mono_time, uint8_t *data, size_t length, uint64_t ping_id); #ifdef __cplusplus -- cgit v1.2.3