gnunet

Main GNUnet Logic
Log | Files | Refs | Submodules | README | LICENSE

commit dab58f120bc318904301830a0a40f961482e5161
parent ce4e26155147024ecc816de20bf8471694f18011
Author: Bart Polot <bart@net.in.tum.de>
Date:   Mon, 15 Dec 2014 07:18:06 +0000

- calculate the correct amount of messages to allow per connection

Diffstat:
Msrc/cadet/gnunet-service-cadet_tunnel.c | 4+---
1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/cadet/gnunet-service-cadet_tunnel.c b/src/cadet/gnunet-service-cadet_tunnel.c @@ -3008,12 +3008,10 @@ GCT_send_connection_acks (struct CadetTunnel *t) /* Make sure there is no overflow */ if (allowed > buffer) - { return; - } /* Authorize connections to send more data */ - to_allow = buffer; /* FIXME (- allowed;) */ + to_allow = buffer - allowed; for (iter = t->connection_head; NULL != iter && to_allow > 0;