[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: -remove broken path trunction logic
From: |
gnunet |
Subject: |
[gnunet] branch master updated: -remove broken path trunction logic |
Date: |
Sat, 12 Mar 2022 22:26:54 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new 11b80a809 -remove broken path trunction logic
11b80a809 is described below
commit 11b80a8098a5a83041fc03accd98a8d52f2e1f30
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sat Mar 12 22:25:40 2022 +0100
-remove broken path trunction logic
---
src/dht/gnunet-service-dht_neighbours.c | 17 -----------------
1 file changed, 17 deletions(-)
diff --git a/src/dht/gnunet-service-dht_neighbours.c
b/src/dht/gnunet-service-dht_neighbours.c
index 94513983e..9aea34354 100644
--- a/src/dht/gnunet-service-dht_neighbours.c
+++ b/src/dht/gnunet-service-dht_neighbours.c
@@ -2443,23 +2443,6 @@ handle_dht_p2p_result (void *cls,
/* if we got a HELLO, consider it for our own routing table */
hello_check (&bd);
- /* First, check if 'peer' is already on the path, and if
- so, truncate it instead of expanding. */
- for (unsigned int i = 0; i < get_path_length; i++)
- if (0 == GNUNET_memcmp (&get_path[i].pred,
- &peer->id))
- {
- GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
- "Truncating path at %u/%u\n",
- i,
- get_path_length);
- GNUNET_break (process_reply_with_path (&bd,
- &prm->key,
- i,
- get_path));
- return;
- }
-
/* Need to append 'peer' to 'get_path' (normal case) */
{
struct GNUNET_DHT_PathElement xget_path[get_path_length + 1];
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: -remove broken path trunction logic,
gnunet <=