From f4e050f3775718bd378fc8b91481b243b64d26c5 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Sun, 19 Oct 2014 20:47:03 -0400 Subject: [PATCH] Removed useless code. --- toxcore/onion_client.c | 3 --- 1 file changed, 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_ if (ping_id == NULL) ping_id = zero_ping_id; - Node_format dest_node; - dest_node.ip_port = dest; - memcpy(dest_node.client_id, dest_pubkey, crypto_box_PUBLICKEYBYTES); uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE]; int len;