From 0e70daa01fc872938ce4a23e84747a319d6909fd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Mon, 28 May 2018 01:39:40 +0200 Subject: track hello passing --- src/peerinfo/peerinfo_api.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/peerinfo') 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, struct GNUNET_PeerIdentity peer; if (NULL == h->mq) + { + GNUNET_break (0); return NULL; + } GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (hello, &peer)); -- cgit v1.2.3