aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/gnunet-service-revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r--src/revocation/gnunet-service-revocation.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c
index fd646b4b7..e4ea1f2ff 100644
--- a/src/revocation/gnunet-service-revocation.c
+++ b/src/revocation/gnunet-service-revocation.c
@@ -545,9 +545,8 @@ handle_core_connect (void *cls,
545 struct GNUNET_HashCode my_hash; 545 struct GNUNET_HashCode my_hash;
546 struct GNUNET_HashCode peer_hash; 546 struct GNUNET_HashCode peer_hash;
547 547
548 if (0 == memcmp (peer, 548 if (0 == GNUNET_memcmp (peer,
549 &my_identity, 549 &my_identity))
550 sizeof (my_identity)))
551 { 550 {
552 return NULL; 551 return NULL;
553 } 552 }
@@ -608,9 +607,8 @@ handle_core_disconnect (void *cls,
608{ 607{
609 struct PeerEntry *peer_entry = internal_cls; 608 struct PeerEntry *peer_entry = internal_cls;
610 609
611 if (0 == memcmp (peer, 610 if (0 == GNUNET_memcmp (peer,
612 &my_identity, 611 &my_identity))
613 sizeof (my_identity)))
614 return; 612 return;
615 GNUNET_assert (NULL != peer_entry); 613 GNUNET_assert (NULL != peer_entry);
616 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, 614 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,