projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
887c426
)
receive set_quota messages
author
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 9 Nov 2011 20:45:46 +0000
(20:45 +0000)
committer
Matthias Wachs
<wachs@net.in.tum.de>
Wed, 9 Nov 2011 20:45:46 +0000
(20:45 +0000)
src/transport/transport_api.c
patch
|
blob
|
history
diff --git
a/src/transport/transport_api.c
b/src/transport/transport_api.c
index b7704e512163b7384c07d73898db8f524a0cdfe9..d2d1d70538f2a77f30225a846e15213e38454ff5 100644
(file)
--- 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: