diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-06-05 13:26:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-06-05 13:26:22 +0000 |
commit | ab1bf63f1ed7637297c90b5b284f40a797f44805 (patch) | |
tree | 64bedd1cc5620f690d6ad099c2fb4b45a9a41f03 /src/dht/gnunet-service-dht.c | |
parent | 446dcf7697ebdd7c78a48573a5c73fbf25448c74 (diff) | |
download | gnunet-ab1bf63f1ed7637297c90b5b284f40a797f44805.tar.gz gnunet-ab1bf63f1ed7637297c90b5b284f40a797f44805.zip |
use new transport API, minor core API change
Diffstat (limited to 'src/dht/gnunet-service-dht.c')
-rw-r--r-- | src/dht/gnunet-service-dht.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht.c b/src/dht/gnunet-service-dht.c index 0bd5dd9f6..44b39c90e 100644 --- a/src/dht/gnunet-service-dht.c +++ b/src/dht/gnunet-service-dht.c | |||
@@ -2188,8 +2188,6 @@ route_result_message (struct GNUNET_MessageHeader *msg, | |||
2188 | increment_stats (STAT_HELLOS_PROVIDED); | 2188 | increment_stats (STAT_HELLOS_PROVIDED); |
2189 | GNUNET_TRANSPORT_offer_hello (transport_handle, hello_msg, NULL, NULL); | 2189 | GNUNET_TRANSPORT_offer_hello (transport_handle, hello_msg, NULL, NULL); |
2190 | GNUNET_CORE_peer_request_connect (coreAPI, | 2190 | GNUNET_CORE_peer_request_connect (coreAPI, |
2191 | GNUNET_TIME_relative_multiply | ||
2192 | (GNUNET_TIME_UNIT_SECONDS, 5), | ||
2193 | &new_peer, NULL, NULL); | 2191 | &new_peer, NULL, NULL); |
2194 | } | 2192 | } |
2195 | } | 2193 | } |
@@ -2712,8 +2710,6 @@ handle_dht_find_peer (const struct GNUNET_MessageHeader *find_msg, | |||
2712 | increment_stats (STAT_HELLOS_PROVIDED); | 2710 | increment_stats (STAT_HELLOS_PROVIDED); |
2713 | GNUNET_TRANSPORT_offer_hello (transport_handle, other_hello, NULL, NULL); | 2711 | GNUNET_TRANSPORT_offer_hello (transport_handle, other_hello, NULL, NULL); |
2714 | GNUNET_CORE_peer_request_connect (coreAPI, | 2712 | GNUNET_CORE_peer_request_connect (coreAPI, |
2715 | GNUNET_TIME_relative_multiply | ||
2716 | (GNUNET_TIME_UNIT_SECONDS, 5), | ||
2717 | &peer_id, NULL, NULL); | 2713 | &peer_id, NULL, NULL); |
2718 | route_message (find_msg, msg_ctx); | 2714 | route_message (find_msg, msg_ctx); |
2719 | GNUNET_free (other_hello); | 2715 | GNUNET_free (other_hello); |