diff options
author | Nathan S. Evans <evans@in.tum.de> | 2011-02-22 15:19:49 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2011-02-22 15:19:49 +0000 |
commit | 7c0698d2296e00d9544f48819f24ed4319e3fad8 (patch) | |
tree | 343507da792d950d8d24ed11648e433bcad304a9 /src/dht/gnunet-service-dht.c | |
parent | ac5cf07b590f788946d4b05f8e11b2414493f4eb (diff) | |
download | gnunet-7c0698d2296e00d9544f48819f24ed4319e3fad8.tar.gz gnunet-7c0698d2296e00d9544f48819f24ed4319e3fad8.zip |
Testing and core related changes.
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 72cd7e39f..f205abbae 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -2181,7 +2181,7 @@ route_result_message (struct GNUNET_MessageHeader *msg, | |||
2181 | if (GNUNET_YES == consider_peer (&new_peer)) | 2181 | if (GNUNET_YES == consider_peer (&new_peer)) |
2182 | { | 2182 | { |
2183 | increment_stats (STAT_HELLOS_PROVIDED); | 2183 | increment_stats (STAT_HELLOS_PROVIDED); |
2184 | GNUNET_TRANSPORT_offer_hello (transport_handle, hello_msg); | 2184 | GNUNET_TRANSPORT_offer_hello (transport_handle, hello_msg, NULL, NULL); |
2185 | GNUNET_CORE_peer_request_connect (coreAPI, | 2185 | GNUNET_CORE_peer_request_connect (coreAPI, |
2186 | GNUNET_TIME_relative_multiply | 2186 | GNUNET_TIME_relative_multiply |
2187 | (GNUNET_TIME_UNIT_SECONDS, 5), | 2187 | (GNUNET_TIME_UNIT_SECONDS, 5), |
@@ -2701,7 +2701,7 @@ handle_dht_find_peer (const struct GNUNET_MessageHeader *find_msg, | |||
2701 | if (GNUNET_YES == consider_peer (&peer_id)) | 2701 | if (GNUNET_YES == consider_peer (&peer_id)) |
2702 | { | 2702 | { |
2703 | increment_stats (STAT_HELLOS_PROVIDED); | 2703 | increment_stats (STAT_HELLOS_PROVIDED); |
2704 | GNUNET_TRANSPORT_offer_hello (transport_handle, other_hello); | 2704 | GNUNET_TRANSPORT_offer_hello (transport_handle, other_hello, NULL, NULL); |
2705 | GNUNET_CORE_peer_request_connect (coreAPI, | 2705 | GNUNET_CORE_peer_request_connect (coreAPI, |
2706 | GNUNET_TIME_relative_multiply | 2706 | GNUNET_TIME_relative_multiply |
2707 | (GNUNET_TIME_UNIT_SECONDS, 5), | 2707 | (GNUNET_TIME_UNIT_SECONDS, 5), |