aboutsummaryrefslogtreecommitdiff
path: root/src/util/client.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-02-02 09:12:25 +0000
committerChristian Grothoff <christian@grothoff.org>2015-02-02 09:12:25 +0000
commit0f550b188c85b709c37383dd75f0243b6222636f (patch)
tree2b6d118fe4a88edc0484de025c3eac88dc91c2a8 /src/util/client.c
parent004188973380f93d82851ade0c572cb324162c84 (diff)
downloadgnunet-0f550b188c85b709c37383dd75f0243b6222636f.tar.gz
gnunet-0f550b188c85b709c37383dd75f0243b6222636f.zip
-improve logging to help diagnose #3593
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);