gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r34599 - gnunet/src/cadet


From: gnunet
Subject: [GNUnet-SVN] r34599 - gnunet/src/cadet
Date: Mon, 15 Dec 2014 08:18:06 +0100

Author: bartpolot
Date: 2014-12-15 08:18:06 +0100 (Mon, 15 Dec 2014)
New Revision: 34599

Modified:
   gnunet/src/cadet/gnunet-service-cadet_tunnel.c
Log:
- calculate the correct amount of messages to allow per connection

Modified: gnunet/src/cadet/gnunet-service-cadet_tunnel.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-12-15 07:18:04 UTC 
(rev 34598)
+++ gnunet/src/cadet/gnunet-service-cadet_tunnel.c      2014-12-15 07:18:06 UTC 
(rev 34599)
@@ -3008,12 +3008,10 @@
 
   /* 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;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]