diff options
author | irungentoo <irungentoo@gmail.com> | 2014-04-23 12:29:24 -0400 |
---|---|---|
committer | irungentoo <irungentoo@gmail.com> | 2014-04-23 12:29:24 -0400 |
commit | 0559904ea28c026baed4a62ff39b8280cd63e58a (patch) | |
tree | 6a7332800d0f077bb897d6624593ea18fbf7d9f1 /testing/DHT_test.c | |
parent | 384750af8cf9e339989ded452181e1238ed6e307 (diff) |
Updated some files so that they could build with latest core.
Fixed some issues.
Diffstat (limited to 'testing/DHT_test.c')
-rw-r--r-- | testing/DHT_test.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/testing/DHT_test.c b/testing/DHT_test.c index 3f8b58bd..2636ed02 100644 --- a/testing/DHT_test.c +++ b/testing/DHT_test.c | |||
@@ -187,9 +187,7 @@ int main(int argc, char *argv[]) | |||
187 | IP ip; | 187 | IP ip; |
188 | ip_init(&ip, ipv6enabled); | 188 | ip_init(&ip, ipv6enabled); |
189 | 189 | ||
190 | DHT *dht = new_DHT(new_net_crypto(new_networking(ip, PORT))); | 190 | DHT *dht = new_DHT(new_networking(ip, PORT)); |
191 | |||
192 | new_keys(dht->c); | ||
193 | printf("OUR ID: "); | 191 | printf("OUR ID: "); |
194 | uint32_t i; | 192 | uint32_t i; |
195 | 193 | ||
@@ -245,7 +243,7 @@ int main(int argc, char *argv[]) | |||
245 | } | 243 | } |
246 | } | 244 | } |
247 | */ | 245 | */ |
248 | networking_poll(dht->c->lossless_udp->net); | 246 | networking_poll(dht->net); |
249 | 247 | ||
250 | print_clientlist(dht); | 248 | print_clientlist(dht); |
251 | print_friendlist(dht); | 249 | print_friendlist(dht); |