summaryrefslogtreecommitdiff
path: root/protocols/Tox/libtox/src/toxcore/onion_announce.c
diff options
context:
space:
mode:
authordartraiden <wowemuh@gmail.com>2021-12-09 19:45:20 +0300
committerdartraiden <wowemuh@gmail.com>2021-12-09 19:45:20 +0300
commitb40119891c2f73c4726ab64ac2a2f327cf781ee2 (patch)
treef06adb7527462996a95160921693b7361f2f5d87 /protocols/Tox/libtox/src/toxcore/onion_announce.c
parentf4f1858d08a927e48cf05169b53dd79f19f21794 (diff)
Update libtox to 0.2.13
Diffstat (limited to 'protocols/Tox/libtox/src/toxcore/onion_announce.c')
-rw-r--r--protocols/Tox/libtox/src/toxcore/onion_announce.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/Tox/libtox/src/toxcore/onion_announce.c b/protocols/Tox/libtox/src/toxcore/onion_announce.c
index 6d38012aa7..0a04a4b834 100644
--- a/protocols/Tox/libtox/src/toxcore/onion_announce.c
+++ b/protocols/Tox/libtox/src/toxcore/onion_announce.c
@@ -259,7 +259,8 @@ typedef struct Cmp_data {
static int cmp_entry(const void *a, const void *b)
{
- Cmp_data cmp1, cmp2;
+ Cmp_data cmp1;
+ Cmp_data cmp2;
memcpy(&cmp1, a, sizeof(Cmp_data));
memcpy(&cmp2, b, sizeof(Cmp_data));
Onion_Announce_Entry entry1 = cmp1.entry;