From 03a511482ffa643a636cd5bcce596f110ca2d8e0 Mon Sep 17 00:00:00 2001 From: iphydf Date: Sat, 16 May 2020 23:04:10 +0100 Subject: Format comments according to tokstyle's requirements. --- toxcore/DHT.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'toxcore/DHT.c') diff --git a/toxcore/DHT.c b/toxcore/DHT.c index 15f554e2..75a485b7 100644 --- a/toxcore/DHT.c +++ b/toxcore/DHT.c @@ -1294,7 +1294,7 @@ static void returnedip_ports(DHT *dht, IP_Port ip_port, const uint8_t *public_ke } /* Send a getnodes request. - sendback_node is the node that it will send back the response to (set to NULL to disable this) */ + * sendback_node is the node that it will send back the response to (set to NULL to disable this) */ static int getnodes(DHT *dht, IP_Port ip_port, const uint8_t *public_key, const uint8_t *client_id, const Node_format *sendback_node) { @@ -1427,7 +1427,7 @@ static int handle_getnodes(void *object, IP_Port source, const uint8_t *packet, } /* return false if no - return true if yes */ + * return true if yes */ static bool sent_getnode_to_node(DHT *dht, const uint8_t *public_key, IP_Port node_ip_port, uint64_t ping_id, Node_format *sendback_node) { @@ -2447,7 +2447,7 @@ static int handle_hardening(void *object, IP_Port source, const uint8_t *source_ length_nodes, 0); /* TODO(irungentoo): MAX_SENT_NODES nodes should be returned at all times - (right now we have a small network size so it could cause problems for testing and etc..) */ + * (right now we have a small network size so it could cause problems for testing and etc..) */ if (num_nodes <= 0) { return 1; } -- cgit v1.2.3