gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r33031 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r33031 - gnunet/src/mesh
Date: Thu, 10 Apr 2014 19:05:39 +0200

Author: bartpolot
Date: 2014-04-10 19:05:39 +0200 (Thu, 10 Apr 2014)
New Revision: 33031

Modified:
   gnunet/src/mesh/gnunet-service-mesh_tunnel.c
Log:
- use constant instead of hardcoded value

Modified: gnunet/src/mesh/gnunet-service-mesh_tunnel.c
===================================================================
--- gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2014-04-10 15:39:21 UTC 
(rev 33030)
+++ gnunet/src/mesh/gnunet-service-mesh_tunnel.c        2014-04-10 17:05:39 UTC 
(rev 33031)
@@ -2000,7 +2000,7 @@
   }
 
   /* Start new connections if needed */
-  if (3 < GMT_count_connections (t)
+  if (CONNECTIONS_PER_TUNNEL < GMT_count_connections (t)
       && GNUNET_SCHEDULER_NO_TASK == t->destroy_task
       && MESH_TUNNEL3_SHUTDOWN != t->cstate
       && GNUNET_NO == shutting_down)




reply via email to

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