From: Matthias Wachs Date: Wed, 9 Nov 2011 20:45:46 +0000 (+0000) Subject: receive set_quota messages X-Git-Tag: initial-import-from-subversion-38251~15975 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d163417d12970506d02054121446720206b4745e;p=oweals%2Fgnunet.git receive set_quota messages --- diff --git a/src/transport/transport_api.c b/src/transport/transport_api.c index b7704e512..d2d1d7053 100644 --- a/src/transport/transport_api.c +++ b/src/transport/transport_api.c @@ -581,6 +581,9 @@ demultiplexer (void *cls, const struct GNUNET_MessageHeader *msg) n = neighbour_find (h, &qm->peer); if (n == NULL) break; + LOG (GNUNET_ERROR_TYPE_ERROR, "Received `%s' message, setting outbound quoto to %u\n", + "SET_QUOTA", + ntohl(qm->quota.value__)); GNUNET_BANDWIDTH_tracker_update_quota (&n->out_tracker, qm->quota); break; default: