diff options
author | Bart Polot <bart@net.in.tum.de> | 2014-04-10 17:05:39 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2014-04-10 17:05:39 +0000 |
commit | a61a4e0ffd7d563f3ae4d758f06a894edee71f58 (patch) | |
tree | 806b922f6896b2645b8281d745b9b9c04ecaed7c /src/mesh | |
parent | 718faa300710089f5925a1dcfb49bc104899d1ce (diff) | |
download | gnunet-a61a4e0ffd7d563f3ae4d758f06a894edee71f58.tar.gz gnunet-a61a4e0ffd7d563f3ae4d758f06a894edee71f58.zip |
- use constant instead of hardcoded value
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/gnunet-service-mesh_tunnel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesh/gnunet-service-mesh_tunnel.c b/src/mesh/gnunet-service-mesh_tunnel.c index 7076eedd8..6564f3c2a 100644 --- a/src/mesh/gnunet-service-mesh_tunnel.c +++ b/src/mesh/gnunet-service-mesh_tunnel.c | |||
@@ -2000,7 +2000,7 @@ GMT_remove_connection (struct MeshTunnel3 *t, | |||
2000 | } | 2000 | } |
2001 | 2001 | ||
2002 | /* Start new connections if needed */ | 2002 | /* Start new connections if needed */ |
2003 | if (3 < GMT_count_connections (t) | 2003 | if (CONNECTIONS_PER_TUNNEL < GMT_count_connections (t) |
2004 | && GNUNET_SCHEDULER_NO_TASK == t->destroy_task | 2004 | && GNUNET_SCHEDULER_NO_TASK == t->destroy_task |
2005 | && MESH_TUNNEL3_SHUTDOWN != t->cstate | 2005 | && MESH_TUNNEL3_SHUTDOWN != t->cstate |
2006 | && GNUNET_NO == shutting_down) | 2006 | && GNUNET_NO == shutting_down) |