From a89ea716333ad5ad43757a946efc01cb5e95a0c0 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 26 Jul 2016 20:46:05 +0000 Subject: -indentation, logging, style issues --- src/transport/transport_api_core.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/transport/transport_api_core.c') 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); -- cgit v1.2.3