aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo/peerinfo_api.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-06-04 19:17:57 +0200
committerChristian Grothoff <christian@grothoff.org>2018-06-04 19:17:57 +0200
commitb670eec1c0ea387ae31b52dd0d51c1422949a55c (patch)
tree5abaffddad0c258e6b166ada4ef3fb97ba51b5d1 /src/peerinfo/peerinfo_api.c
parent2b99bddcb6961cfda34087138acdda4b8b9ccb9f (diff)
parent41cbe10b783a0741c75566232886f262cd779fbb (diff)
downloadgnunet-b670eec1c0ea387ae31b52dd0d51c1422949a55c.tar.gz
gnunet-b670eec1c0ea387ae31b52dd0d51c1422949a55c.zip
merge benchmark changes
Diffstat (limited to 'src/peerinfo/peerinfo_api.c')
-rw-r--r--src/peerinfo/peerinfo_api.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/peerinfo/peerinfo_api.c b/src/peerinfo/peerinfo_api.c
index 8b47ed444..09ec04bf8 100644
--- a/src/peerinfo/peerinfo_api.c
+++ b/src/peerinfo/peerinfo_api.c
@@ -565,7 +565,10 @@ GNUNET_PEERINFO_add_peer (struct GNUNET_PEERINFO_Handle *h,
565 struct GNUNET_PeerIdentity peer; 565 struct GNUNET_PeerIdentity peer;
566 566
567 if (NULL == h->mq) 567 if (NULL == h->mq)
568 {
569 GNUNET_break (0);
568 return NULL; 570 return NULL;
571 }
569 GNUNET_assert (GNUNET_OK == 572 GNUNET_assert (GNUNET_OK ==
570 GNUNET_HELLO_get_id (hello, 573 GNUNET_HELLO_get_id (hello,
571 &peer)); 574 &peer));