summaryrefslogtreecommitdiff
path: root/toxcore/onion_client.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/onion_client.c')
-rw-r--r--toxcore/onion_client.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/toxcore/onion_client.c b/toxcore/onion_client.c
index 8ba1fdc5..59190180 100644
--- a/toxcore/onion_client.c
+++ b/toxcore/onion_client.c
@@ -333,9 +333,6 @@ static int client_send_announce_request(Onion_Client *onion_c, uint32_t num, IP_
333 if (ping_id == NULL) 333 if (ping_id == NULL)
334 ping_id = zero_ping_id; 334 ping_id = zero_ping_id;
335 335
336 Node_format dest_node;
337 dest_node.ip_port = dest;
338 memcpy(dest_node.client_id, dest_pubkey, crypto_box_PUBLICKEYBYTES);
339 uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE]; 336 uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE];
340 int len; 337 int len;
341 338