aboutsummaryrefslogtreecommitdiff
path: root/src/gnunet_chat_group_intern.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gnunet_chat_group_intern.c')
-rw-r--r--src/gnunet_chat_group_intern.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gnunet_chat_group_intern.c b/src/gnunet_chat_group_intern.c
index b70b901..76a35ca 100644
--- a/src/gnunet_chat_group_intern.c
+++ b/src/gnunet_chat_group_intern.c
@@ -37,6 +37,13 @@ search_group_by_topic(void *cls,
37{ 37{
38 struct GNUNET_CHAT_Group *group = cls; 38 struct GNUNET_CHAT_Group *group = cls;
39 39
40 GNUNET_assert((group) &&
41 (group->handle) &&
42 (group->handle->cfg) &&
43 (group->handle->messenger) &&
44 (group->context) &&
45 (group->context->room));
46
40 struct GNUNET_PeerIdentity peer; 47 struct GNUNET_PeerIdentity peer;
41 GNUNET_CRYPTO_get_peer_identity(group->handle->cfg, &peer); 48 GNUNET_CRYPTO_get_peer_identity(group->handle->cfg, &peer);
42 49