aboutsummaryrefslogtreecommitdiff
path: root/src/cadet/gnunet-service-cadet_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cadet/gnunet-service-cadet_core.c')
-rw-r--r--src/cadet/gnunet-service-cadet_core.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/cadet/gnunet-service-cadet_core.c b/src/cadet/gnunet-service-cadet_core.c
index 275785b57..879230d29 100644
--- a/src/cadet/gnunet-service-cadet_core.c
+++ b/src/cadet/gnunet-service-cadet_core.c
@@ -843,9 +843,8 @@ handle_connection_create (void *cls,
843 } 843 }
844 /* Initiator is at offset 0, find us */ 844 /* Initiator is at offset 0, find us */
845 for (off=1;off<path_length;off++) 845 for (off=1;off<path_length;off++)
846 if (0 == memcmp (&my_full_id, 846 if (0 == GNUNET_memcmp (&my_full_id,
847 &pids[off], 847 &pids[off]))
848 sizeof (struct GNUNET_PeerIdentity)))
849 break; 848 break;
850 if (off == path_length) 849 if (off == path_length)
851 { 850 {
@@ -1310,9 +1309,8 @@ core_init_cb (void *cls,
1310 return; 1309 return;
1311 } 1310 }
1312 GNUNET_break (0 == 1311 GNUNET_break (0 ==
1313 memcmp (my_identity, 1312 GNUNET_memcmp (my_identity,
1314 &my_full_id, 1313 &my_full_id));
1315 sizeof (struct GNUNET_PeerIdentity)));
1316} 1314}
1317 1315
1318 1316