aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/client.c')
-rw-r--r--src/util/client.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/client.c b/src/util/client.c
index babb6a516..c107fed74 100644
--- a/src/util/client.c
+++ b/src/util/client.c
@@ -613,6 +613,9 @@ GNUNET_CLIENT_receive (struct GNUNET_CLIENT_Connection *client,
613 if (NULL == client->connection) 613 if (NULL == client->connection)
614 { 614 {
615 /* already disconnected, fail instantly! */ 615 /* already disconnected, fail instantly! */
616 GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
617 "Client API violation for service `%s'\n",
618 client->service_name);
616 GNUNET_break (0); /* this should not happen in well-written code! */ 619 GNUNET_break (0); /* this should not happen in well-written code! */
617 if (NULL != handler) 620 if (NULL != handler)
618 handler (handler_cls, NULL); 621 handler (handler_cls, NULL);