summaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_clients.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_clients.c')
-rw-r--r--src/transport/gnunet-service-transport_clients.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c
index 71c8c0054..02d2428d3 100644
--- a/src/transport/gnunet-service-transport_clients.c
+++ b/src/transport/gnunet-service-transport_clients.c
@@ -1366,18 +1366,24 @@ GST_clients_broadcast (const struct GNUNET_MessageHeader *msg,
int may_drop)
{
struct TransportClient *tc;
+ int done;
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Asked to broadcast message of type %u with %u bytes\n",
(unsigned int) ntohs (msg->type),
(unsigned int) ntohs (msg->size));
+ done = GNUNET_NO;
for (tc = clients_head; NULL != tc; tc = tc->next)
{
if ( (GNUNET_YES == may_drop) &&
(GNUNET_YES != tc->send_payload) )
continue; /* skip, this client does not care about payload */
unicast (tc, msg, may_drop);
+ done = GNUNET_YES;
}
+ if (GNUNET_NO == done)
+ GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
+ "Message not delivered, is CORE service up?\n");
}