aboutsummaryrefslogtreecommitdiff
path: root/src/ats/plugin_ats2_simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ats/plugin_ats2_simple.c')
-rw-r--r--src/ats/plugin_ats2_simple.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ats/plugin_ats2_simple.c b/src/ats/plugin_ats2_simple.c
index 449b50fb7..35a256f32 100644
--- a/src/ats/plugin_ats2_simple.c
+++ b/src/ats/plugin_ats2_simple.c
@@ -492,9 +492,8 @@ watch_cb (void *cls,
492 struct GNUNET_TIME_Absolute expiration; 492 struct GNUNET_TIME_Absolute expiration;
493 struct Hello *hello; 493 struct Hello *hello;
494 494
495 if (0 != memcmp (&p->pid, 495 if (0 != GNUNET_memcmp (&p->pid,
496 &record->peer, 496 &record->peer))
497 sizeof (struct GNUNET_PeerIdentity)))
498 { 497 {
499 GNUNET_break (0); 498 GNUNET_break (0);
500 return; 499 return;