aboutsummaryrefslogtreecommitdiff
path: root/src/peerinfo
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2018-05-28 01:39:40 +0200
committerChristian Grothoff <christian@grothoff.org>2018-05-28 01:39:40 +0200
commit0e70daa01fc872938ce4a23e84747a319d6909fd (patch)
tree3ace25039c3369db778f650fc3a8751c946376bc /src/peerinfo
parent99c89e00b6d288e749a10947ba7473a4beaf747d (diff)
downloadgnunet-0e70daa01fc872938ce4a23e84747a319d6909fd.tar.gz
gnunet-0e70daa01fc872938ce4a23e84747a319d6909fd.zip
track hello passing
Diffstat (limited to 'src/peerinfo')
-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));