summaryrefslogtreecommitdiff
path: root/auto_tests
diff options
context:
space:
mode:
authoriphydf <iphydf@users.noreply.github.com>2018-07-19 22:00:21 +0000
committeriphydf <iphydf@users.noreply.github.com>2018-07-21 14:56:21 +0000
commitadb12d5340431d9de5995da37ea7aca01e675da3 (patch)
tree3f03580c79e831c848720588d2111d008550fd71 /auto_tests
parentb6b3cdbf2551d001478441576d55a14b764889fb (diff)
Add github usernames to TODOs.
Diffstat (limited to 'auto_tests')
-rw-r--r--auto_tests/dht_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto_tests/dht_test.c b/auto_tests/dht_test.c
index 5c40e2c9..f57d706b 100644
--- a/auto_tests/dht_test.c
+++ b/auto_tests/dht_test.c
@@ -632,7 +632,7 @@ START_TEST(test_DHT_test)
632 } pairs[NUM_DHT_FRIENDS]; 632 } pairs[NUM_DHT_FRIENDS];
633 633
634 for (i = 0; i < NUM_DHT_FRIENDS; ++i) { 634 for (i = 0; i < NUM_DHT_FRIENDS; ++i) {
635 //TODO: Hugbubby say goto bad >:( 635 // TODO(hugbubby): remove use of goto.
636loop_top: 636loop_top:
637 pairs[i].tox1 = random_u32() % NUM_DHT; 637 pairs[i].tox1 = random_u32() % NUM_DHT;
638 pairs[i].tox2 = (pairs[i].tox1 + (random_u32() % (NUM_DHT - 1)) + 1) % NUM_DHT; 638 pairs[i].tox2 = (pairs[i].tox1 + (random_u32() % (NUM_DHT - 1)) + 1) % NUM_DHT;