diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-01-16 14:01:23 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-02-19 12:41:01 +0100 |
commit | 8ca9b2754d10419c9d8c041549d5747ec482b83a (patch) | |
tree | 5b6f8b46a419c58780ba09a9e9b6d38ef5647a98 /src/dht/gnunet-service-dht_neighbours.c | |
parent | a98b548418bd0dcb8882ef913bcc2fbb516e0f2c (diff) | |
download | gnunet-8ca9b2754d10419c9d8c041549d5747ec482b83a.tar.gz gnunet-8ca9b2754d10419c9d8c041549d5747ec482b83a.zip |
-DHT: add gnunet-dht-hello for bootstrapping
Diffstat (limited to 'src/dht/gnunet-service-dht_neighbours.c')
-rw-r--r-- | src/dht/gnunet-service-dht_neighbours.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dht/gnunet-service-dht_neighbours.c b/src/dht/gnunet-service-dht_neighbours.c index 213308ca6..fc025fa18 100644 --- a/src/dht/gnunet-service-dht_neighbours.c +++ b/src/dht/gnunet-service-dht_neighbours.c | |||
@@ -2246,9 +2246,9 @@ check_dht_p2p_result (void *cls, | |||
2246 | * @param cls closure pointing to a `struct GNUNET_PeerIdentity *` | 2246 | * @param cls closure pointing to a `struct GNUNET_PeerIdentity *` |
2247 | * @param uri one of the URIs | 2247 | * @param uri one of the URIs |
2248 | */ | 2248 | */ |
2249 | static void | 2249 | void |
2250 | try_connect (void *cls, | 2250 | GDS_try_connect (void *cls, |
2251 | const char *uri) | 2251 | const char *uri) |
2252 | { | 2252 | { |
2253 | const struct GNUNET_PeerIdentity *pid = cls; | 2253 | const struct GNUNET_PeerIdentity *pid = cls; |
2254 | struct GNUNET_HashCode phash; | 2254 | struct GNUNET_HashCode phash; |
@@ -2367,7 +2367,7 @@ handle_dht_p2p_result (void *cls, | |||
2367 | if (GNUNET_YES != disable_try_connect) | 2367 | if (GNUNET_YES != disable_try_connect) |
2368 | GNUNET_HELLO_builder_iterate (b, | 2368 | GNUNET_HELLO_builder_iterate (b, |
2369 | &pid, | 2369 | &pid, |
2370 | &try_connect, | 2370 | &GDS_try_connect, |
2371 | &pid); | 2371 | &pid); |
2372 | GNUNET_HELLO_builder_free (b); | 2372 | GNUNET_HELLO_builder_free (b); |
2373 | } | 2373 | } |