mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Removed useless code.
This commit is contained in:
parent
e322926646
commit
f4e050f377
|
@ -333,9 +333,6 @@ static int client_send_announce_request(Onion_Client *onion_c, uint32_t num, IP_
|
||||||
if (ping_id == NULL)
|
if (ping_id == NULL)
|
||||||
ping_id = zero_ping_id;
|
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];
|
uint8_t request[ONION_ANNOUNCE_REQUEST_SIZE];
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user