- don't queue more than 3 messages
authorBart Polot <bart@net.in.tum.de>
Thu, 30 Apr 2015 11:00:31 +0000 (11:00 +0000)
committerBart Polot <bart@net.in.tum.de>
Thu, 30 Apr 2015 11:00:31 +0000 (11:00 +0000)
src/cadet/gnunet-service-cadet_tunnel.c

index 6ebf9d393401a0fc8aef971ab9ddb821462fb1e7..9c3fff2275789313871268cf0ac21c6fb52d6b65 100644 (file)
@@ -3956,7 +3956,7 @@ GCT_get_connections_buffer (struct CadetTunnel *t)
 
   if (GNUNET_NO == is_ready (t))
   {
-    if (count_queued_data (t) > 3)
+    if (count_queued_data (t) >= 3)
       return 0;
     else
       return 1;