summaryrefslogtreecommitdiff
path: root/testing/DHT_test.c
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2014-09-26 17:56:06 -0400
committerirungentoo <irungentoo@gmail.com>2014-09-26 17:56:06 -0400
commit33721da46ab45ff6073cabf5bc97eacb0129fce9 (patch)
tree3e436f41bc28bc3d0045b86c8b789f3cf47f30bb /testing/DHT_test.c
parentb308afd742fa02684bdd73fb7a5acaa158976765 (diff)
Added callbacks to DHT called when the ip of a peer is discovered.
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r--testing/DHT_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c
index 2636ed02..5cdd1823 100644
--- a/testing/DHT_test.c
+++ b/testing/DHT_test.c
@@ -208,7 +208,7 @@ int main(int argc, char *argv[])
208 temp_id[strlen(temp_id) - 1] = '\0'; 208 temp_id[strlen(temp_id) - 1] = '\0';
209 209
210 uint8_t *bin_id = hex_string_to_bin(temp_id); 210 uint8_t *bin_id = hex_string_to_bin(temp_id);
211 DHT_addfriend(dht, bin_id); 211 DHT_addfriend(dht, bin_id, 0, 0, 0, 0);
212 free(bin_id); 212 free(bin_id);
213 213
214 perror("Initialization"); 214 perror("Initialization");