summaryrefslogtreecommitdiff
path: root/toxcore/DHT.c
diff options
context:
space:
mode:
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r--toxcore/DHT.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toxcore/DHT.c b/toxcore/DHT.c
index a1025300..1eebb0c7 100644
--- a/toxcore/DHT.c
+++ b/toxcore/DHT.c
@@ -76,7 +76,7 @@ struct DHT_Friend {
76 /* number of times get_node packets were sent. */ 76 /* number of times get_node packets were sent. */
77 uint32_t bootstrap_times; 77 uint32_t bootstrap_times;
78 78
79 /* Symetric NAT hole punching stuff. */ 79 /* Symmetric NAT hole punching stuff. */
80 NAT nat; 80 NAT nat;
81 81
82 uint16_t lock_count; 82 uint16_t lock_count;
@@ -238,7 +238,7 @@ static unsigned int bit_by_bit_cmp(const uint8_t *pk1, const uint8_t *pk2)
238 return i * 8 + j; 238 return i * 8 + j;
239} 239}
240 240
241/* Shared key generations are costly, it is therefor smart to store commonly used 241/* Shared key generations are costly, it is therefore smart to store commonly used
242 * ones so that they can re used later without being computed again. 242 * ones so that they can re used later without being computed again.
243 * 243 *
244 * If shared key is already in shared_keys, copy it to shared_key. 244 * If shared key is already in shared_keys, copy it to shared_key.