summaryrefslogtreecommitdiff
path: root/src/transport/transport_api_core.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-02-25 21:42:37 +0100
committerChristian Grothoff <christian@grothoff.org>2019-02-25 21:42:37 +0100
commit3cb49e832b2f4237bfb895720b4d3c3dbcf881e5 (patch)
tree7488a0887e77a1ce9f349dea6048f2efe4749c9c /src/transport/transport_api_core.c
parentb660cf48f0e34cffb13f0f6cad26f691d4e41aab (diff)
style fixes during debugging
Diffstat (limited to 'src/transport/transport_api_core.c')
-rw-r--r--src/transport/transport_api_core.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/transport/transport_api_core.c b/src/transport/transport_api_core.c
index 75287b5e7..aa6da0098 100644
--- a/src/transport/transport_api_core.c
+++ b/src/transport/transport_api_core.c
@@ -747,18 +747,18 @@ handle_set_quota (void *cls,
struct GNUNET_TRANSPORT_CoreHandle *h = cls;
struct Neighbour *n;
+ LOG (GNUNET_ERROR_TYPE_DEBUG,
+ "Receiving SET_QUOTA message for `%s' with quota %u\n",
+ GNUNET_i2s (&qm->peer),
+ ntohl (qm->quota.value__));
n = neighbour_find (h,
&qm->peer);
if (NULL == n)
{
- GNUNET_break (0);
+ GNUNET_break (0); /* FIXME: julius reports this assertion fails sometimes? */
disconnect_and_schedule_reconnect (h);
return;
}
- LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Receiving SET_QUOTA message for `%s' with quota %u\n",
- GNUNET_i2s (&qm->peer),
- ntohl (qm->quota.value__));
GNUNET_BANDWIDTH_tracker_update_quota (&n->out_tracker,
qm->quota);
}