[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet] branch master updated: fix off-by-one
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet] branch master updated: fix off-by-one |
Date: |
Sun, 22 Jan 2017 20:24:43 +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 f506381e2 fix off-by-one
f506381e2 is described below
commit f506381e287ef7adfa3979ba9c2b48e6e001cf1c
Author: Christian Grothoff <address@hidden>
AuthorDate: Sun Jan 22 20:24:41 2017 +0100
fix off-by-one
---
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 0fb558d81..976020bea 100644
--- a/src/cadet/gnunet-service-cadet-new_paths.c
+++ b/src/cadet/gnunet-service-cadet-new_paths.c
@@ -217,7 +217,7 @@ GCPP_release (struct CadetPeerPath *path)
entry = path->entries[path->entries_length - 1];
path->hn = GCP_attach_path (entry->peer,
path,
- path->entries_length,
+ path->entries_length - 1,
GNUNET_NO);
if (NULL != path->hn)
return; /* yep, got attached, we are done. */
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnunet] branch master updated: fix off-by-one,
gnunet <=