diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-16 14:02:53 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-16 14:02:53 +0000 |
commit | abcb5dfce1f7b5ac066de37e1ec8d32463c04c9a (patch) | |
tree | 9074bdcc3d80861464438d83281b76652cfa5a0b /src/vpn/gnunet-service-dns.c | |
parent | 805c5cf9d9db6c6cafdf635f49c98154a485dac2 (diff) | |
download | gnunet-abcb5dfce1f7b5ac066de37e1ec8d32463c04c9a.tar.gz gnunet-abcb5dfce1f7b5ac066de37e1ec8d32463c04c9a.zip |
statics are zero, so this is actually not even needed
Diffstat (limited to 'src/vpn/gnunet-service-dns.c')
-rw-r--r-- | src/vpn/gnunet-service-dns.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/vpn/gnunet-service-dns.c b/src/vpn/gnunet-service-dns.c index 72b58f755..4410e5e94 100644 --- a/src/vpn/gnunet-service-dns.c +++ b/src/vpn/gnunet-service-dns.c | |||
@@ -1380,18 +1380,8 @@ run (void *cls, struct GNUNET_SERVER_Handle *server, | |||
1380 | mesh_handle = GNUNET_MESH_connect (cfg_, NULL, NULL, mesh_handlers, apptypes); | 1380 | mesh_handle = GNUNET_MESH_connect (cfg_, NULL, NULL, mesh_handlers, apptypes); |
1381 | 1381 | ||
1382 | cfg = cfg_; | 1382 | cfg = cfg_; |
1383 | |||
1384 | unsigned int i; | ||
1385 | |||
1386 | for (i = 0; i < UINT16_MAX + 1; i++) | ||
1387 | { | ||
1388 | query_states[i].valid = GNUNET_NO; | ||
1389 | } | ||
1390 | |||
1391 | dht = GNUNET_DHT_connect (cfg, 1024); | 1383 | dht = GNUNET_DHT_connect (cfg, 1024); |
1392 | |||
1393 | GNUNET_SCHEDULER_add_now (publish_names, NULL); | 1384 | GNUNET_SCHEDULER_add_now (publish_names, NULL); |
1394 | |||
1395 | GNUNET_SERVER_add_handlers (server, handlers); | 1385 | GNUNET_SERVER_add_handlers (server, handlers); |
1396 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task, | 1386 | GNUNET_SCHEDULER_add_delayed (GNUNET_TIME_UNIT_FOREVER_REL, &cleanup_task, |
1397 | cls); | 1387 | cls); |