aboutsummaryrefslogtreecommitdiff
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)
downloadgnunet-3cb49e832b2f4237bfb895720b4d3c3dbcf881e5.tar.gz
gnunet-3cb49e832b2f4237bfb895720b4d3c3dbcf881e5.zip
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,
747 struct GNUNET_TRANSPORT_CoreHandle *h = cls; 747 struct GNUNET_TRANSPORT_CoreHandle *h = cls;
748 struct Neighbour *n; 748 struct Neighbour *n;
749 749
750 LOG (GNUNET_ERROR_TYPE_DEBUG,
751 "Receiving SET_QUOTA message for `%s' with quota %u\n",
752 GNUNET_i2s (&qm->peer),
753 ntohl (qm->quota.value__));
750 n = neighbour_find (h, 754 n = neighbour_find (h,
751 &qm->peer); 755 &qm->peer);
752 if (NULL == n) 756 if (NULL == n)
753 { 757 {
754 GNUNET_break (0); 758 GNUNET_break (0); /* FIXME: julius reports this assertion fails sometimes? */
755 disconnect_and_schedule_reconnect (h); 759 disconnect_and_schedule_reconnect (h);
756 return; 760 return;
757 } 761 }
758 LOG (GNUNET_ERROR_TYPE_DEBUG,
759 "Receiving SET_QUOTA message for `%s' with quota %u\n",
760 GNUNET_i2s (&qm->peer),
761 ntohl (qm->quota.value__));
762 GNUNET_BANDWIDTH_tracker_update_quota (&n->out_tracker, 762 GNUNET_BANDWIDTH_tracker_update_quota (&n->out_tracker,
763 qm->quota); 763 qm->quota);
764} 764}