[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: do not test against unset c
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: do not test against unset cpath values that we skipped |
Date: |
Tue, 31 Jan 2017 11:28:34 +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 07a1059ce do not test against unset cpath values that we skipped
07a1059ce is described below
commit 07a1059ce5ec359a6228bde8bfe2b22428a81f69
Author: Christian Grothoff <address@hidden>
AuthorDate: Tue Jan 31 11:28:33 2017 +0100
do not test against unset cpath values that we skipped
---
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 5bb658797..4f2c0036f 100644
--- a/src/cadet/gnunet-service-cadet-new_paths.c
+++ b/src/cadet/gnunet-service-cadet-new_paths.c
@@ -489,7 +489,7 @@ GCPP_try_path_from_dht (const struct GNUNET_PeerIdentity
*get_path,
cpath[off - skip] = GCP_get (pid,
GNUNET_YES);
/* Check that no peer is twice on the path */
- for (unsigned int i=0;i<off;i++)
+ for (unsigned int i=0;i<off - skip;i++)
{
if (cpath[i] == cpath[off])
{
--
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: do not test against unset cpath values that we skipped,
gnunet <=