aboutsummaryrefslogtreecommitdiff
path: root/src/multicast
diff options
context:
space:
mode:
authorlurchi <lurchi@strangeplace.net>2017-12-30 18:19:02 +0100
committerlurchi <lurchi@strangeplace.net>2017-12-30 18:19:02 +0100
commit56c5769e15727b93864f5a257888fbc43eaae804 (patch)
treeaf4d1ee674edae7e32a1e09c6f3ca16ff38d63e5 /src/multicast
parentaef12de46c7a1f7a00cad0c66efb750cfe59d708 (diff)
downloadgnunet-56c5769e15727b93864f5a257888fbc43eaae804.tar.gz
gnunet-56c5769e15727b93864f5a257888fbc43eaae804.zip
test_social runs into the case GNUNET_YES == grp->is_disconnected
Diffstat (limited to 'src/multicast')
-rw-r--r--src/multicast/gnunet-service-multicast.c2
1 files changed, 1 insertions, 1 deletions
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
1724handle_client_multicast_message (void *cls, 1724handle_client_multicast_message (void *cls,
1725 const struct GNUNET_MULTICAST_MessageHeader *msg) 1725 const struct GNUNET_MULTICAST_MessageHeader *msg)
1726{ 1726{
1727 // FIXME: what if GNUNET_YES == grp->is_disconnected? Do we allow sending messages?
1727 struct Client *c = cls; 1728 struct Client *c = cls;
1728 struct GNUNET_SERVICE_Client *client = c->client; 1729 struct GNUNET_SERVICE_Client *client = c->client;
1729 struct Group *grp = c->group; 1730 struct Group *grp = c->group;
@@ -1734,7 +1735,6 @@ handle_client_multicast_message (void *cls,
1734 GNUNET_SERVICE_client_drop (client); 1735 GNUNET_SERVICE_client_drop (client);
1735 return; 1736 return;
1736 } 1737 }
1737 GNUNET_assert (GNUNET_NO == grp->is_disconnected);
1738 GNUNET_assert (GNUNET_YES == grp->is_origin); 1738 GNUNET_assert (GNUNET_YES == grp->is_origin);
1739 struct Origin *orig = grp->origin; 1739 struct Origin *orig = grp->origin;
1740 1740