diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-07-26 20:46:05 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-07-26 20:46:05 +0000 |
commit | a89ea716333ad5ad43757a946efc01cb5e95a0c0 (patch) | |
tree | 734846d7f0d45efae4db000c34c882e868ce5c81 /src/transport/transport_api_core.c | |
parent | 4f3250dfb068d6f378f4d504e06a9126d9dac99b (diff) | |
download | gnunet-a89ea716333ad5ad43757a946efc01cb5e95a0c0.tar.gz gnunet-a89ea716333ad5ad43757a946efc01cb5e95a0c0.zip |
-indentation, logging, style issues
Diffstat (limited to 'src/transport/transport_api_core.c')
-rw-r--r-- | src/transport/transport_api_core.c | 7 |
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) | |||
228 | struct Neighbour *n = cls; | 228 | struct Neighbour *n = cls; |
229 | struct GNUNET_TRANSPORT_CoreHandle *h = n->h; | 229 | struct GNUNET_TRANSPORT_CoreHandle *h = n->h; |
230 | 230 | ||
231 | LOG (GNUNET_ERROR_TYPE_DEBUG, | ||
232 | "Notifying CORE that more bandwidth is available for %s\n", | ||
233 | GNUNET_i2s (&n->id)); | ||
234 | |||
231 | if (NULL != h->neb_cb) | 235 | if (NULL != h->neb_cb) |
232 | h->neb_cb (h->cls, | 236 | h->neb_cb (h->cls, |
233 | &n->id, | 237 | &n->id, |
@@ -719,7 +723,8 @@ handle_set_quota (void *cls, | |||
719 | struct GNUNET_TRANSPORT_CoreHandle *h = cls; | 723 | struct GNUNET_TRANSPORT_CoreHandle *h = cls; |
720 | struct Neighbour *n; | 724 | struct Neighbour *n; |
721 | 725 | ||
722 | n = neighbour_find (h, &qm->peer); | 726 | n = neighbour_find (h, |
727 | &qm->peer); | ||
723 | if (NULL == n) | 728 | if (NULL == n) |
724 | { | 729 | { |
725 | GNUNET_break (0); | 730 | GNUNET_break (0); |