[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix loop detection logic
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix loop detection logic |
Date: |
Tue, 31 Jan 2017 17:02:12 +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 c7b18c8ad fix loop detection logic
c7b18c8ad is described below
commit c7b18c8ad9c02d9b4848ab033cf11fa6e05627e4
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jan 31 17:02:24 2017 +0100
fix loop detection logic
---
src/cadet/gnunet-service-cadet-new_paths.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/cadet/gnunet-service-cadet-new_paths.c
b/src/cadet/gnunet-service-cadet-new_paths.c
index 28c43d1cf..39026dbe7 100644
--- a/src/cadet/gnunet-service-cadet-new_paths.c
+++ b/src/cadet/gnunet-service-cadet-new_paths.c
@@ -494,7 +494,7 @@ GCPP_try_path_from_dht (const struct GNUNET_PeerIdentity
*get_path,
/* Check that no peer is twice on the path */
for (unsigned int i=0;i<off - skip;i++)
{
- if (cpath[i] == cpath[off])
+ if (cpath[i] == cpath[off - skip])
{
skip = off - i;
break;
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet] branch master updated: fix loop detection logic,
gnunet <=