summaryrefslogtreecommitdiff
path: root/toxcore/onion_announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_announce.c')
-rw-r--r--toxcore/onion_announce.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toxcore/onion_announce.c b/toxcore/onion_announce.c
index 32442797..25f3e0f8 100644
--- a/toxcore/onion_announce.c
+++ b/toxcore/onion_announce.c
@@ -134,7 +134,7 @@ int send_announce_request(Networking_Core *net, const Onion_Path *path, Node_for
134 uint64_t sendback_data) 134 uint64_t sendback_data)
135{ 135{
136 uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE]; 136 uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE];
137 int len = create_announce_request(request, sizeof(request), dest.client_id, public_key, secret_key, ping_id, client_id, 137 int len = create_announce_request(request, sizeof(request), dest.public_key, public_key, secret_key, ping_id, client_id,
138 data_public_key, sendback_data); 138 data_public_key, sendback_data);
139 139
140 if (len != sizeof(request)) 140 if (len != sizeof(request))