aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_paths.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_paths.c')
-rw-r--r--src/cadet/gnunet-service-cadet_paths.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cadet/gnunet-service-cadet_paths.c b/src/cadet/gnunet-service-cadet_paths.c
index a061c5685..bdc92668e 100644
--- a/src/cadet/gnunet-service-cadet_paths.c
+++ b/src/cadet/gnunet-service-cadet_paths.c
@@ -496,9 +496,8 @@ GCPP_try_path_from_dht (const struct GNUNET_PeerIdentity *get_path,
496 ? &get_path[get_path_length - off - 1] 496 ? &get_path[get_path_length - off - 1]
497 : &put_path[get_path_length + put_path_length - off - 1]; 497 : &put_path[get_path_length + put_path_length - off - 1];
498 /* Check that I am not in the path */ 498 /* Check that I am not in the path */
499 if (0 == memcmp (&my_full_id, 499 if (0 == GNUNET_memcmp (&my_full_id,
500 pid, 500 pid))
501 sizeof (struct GNUNET_PeerIdentity)))
502 { 501 {
503 skip = off + 1; 502 skip = off + 1;
504 continue; 503 continue;