From: lurchi Date: Sat, 30 Dec 2017 17:19:02 +0000 (+0100) Subject: test_social runs into the case GNUNET_YES == grp->is_disconnected X-Git-Tag: gnunet-0.11.0rc0~48^2~1^2~6 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=56c5769e15727b93864f5a257888fbc43eaae804;p=oweals%2Fgnunet.git test_social runs into the case GNUNET_YES == grp->is_disconnected --- diff --git a/src/multicast/gnunet-service-multicast.c b/src/multicast/gnunet-service-multicast.c index c351313fe..ba1086cc5 100644 --- a/src/multicast/gnunet-service-multicast.c +++ b/src/multicast/gnunet-service-multicast.c @@ -1724,6 +1724,7 @@ static void handle_client_multicast_message (void *cls, const struct GNUNET_MULTICAST_MessageHeader *msg) { + // FIXME: what if GNUNET_YES == grp->is_disconnected? Do we allow sending messages? struct Client *c = cls; struct GNUNET_SERVICE_Client *client = c->client; struct Group *grp = c->group; @@ -1734,7 +1735,6 @@ handle_client_multicast_message (void *cls, GNUNET_SERVICE_client_drop (client); return; } - GNUNET_assert (GNUNET_NO == grp->is_disconnected); GNUNET_assert (GNUNET_YES == grp->is_origin); struct Origin *orig = grp->origin;