diff options
author | yangfl <yangfl@users.noreply.github.com> | 2018-09-19 11:15:50 +0800 |
---|---|---|
committer | iphydf <iphydf@users.noreply.github.com> | 2018-09-19 18:16:13 +0000 |
commit | d3d5b701cb940e5f6c7cb2af199428fc8224e665 (patch) | |
tree | 227460e1cde95443856ccbc5f0bcf082874bd41c /toxcore/DHT.c | |
parent | 758bd9aa871666e1003691531f22f6dc515625bf (diff) |
Fix typos
Diffstat (limited to 'toxcore/DHT.c')
-rw-r--r-- | toxcore/DHT.c | 4 |
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. |