summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-07-26 20:46:05 +0000
committerChristian Grothoff <christian@grothoff.org>2016-07-26 20:46:05 +0000
commita89ea716333ad5ad43757a946efc01cb5e95a0c0 (patch)
tree734846d7f0d45efae4db000c34c882e868ce5c81 /src/transport/transport_api_core.c
parent4f3250dfb068d6f378f4d504e06a9126d9dac99b (diff)
-indentation, logging, style issues
Diffstat (limited to 'src/transport/transport_api_core.c')
-rw-r--r--src/transport/transport_api_core.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/transport/transport_api_core.c b/src/transport/transport_api_core.c
index 4ca62d797..6be9500fb 100644
--- a/src/transport/transport_api_core.c
+++ b/src/transport/transport_api_core.c
@@ -228,6 +228,10 @@ notify_excess_cb (void *cls)
struct Neighbour *n = cls;
struct GNUNET_TRANSPORT_CoreHandle *h = n->h;
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Notifying CORE that more bandwidth is available for %s\n",
+ GNUNET_i2s (&n->id));
+
if (NULL != h->neb_cb)
h->neb_cb (h->cls,
&n->id,
@@ -719,7 +723,8 @@ handle_set_quota (void *cls,
struct GNUNET_TRANSPORT_CoreHandle *h = cls;
struct Neighbour *n;
- n = neighbour_find (h, &qm->peer);
+ n = neighbour_find (h,
+ &qm->peer);
if (NULL == n)
{
GNUNET_break (0);