aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2014-03-17 11:02:34 +0000
committerBart Polot <bart@net.in.tum.de>2014-03-17 11:02:34 +0000
commit041f0b5eca7dfe17210a2aaeb5f35d77dd44b655 (patch)
tree444d097de2b3ae9982fa13f3f96ed75460ad94cb /src
parentc1b323d564e157e805d20abb842bb14bf38e1f99 (diff)
downloadgnunet-041f0b5eca7dfe17210a2aaeb5f35d77dd44b655.tar.gz
gnunet-041f0b5eca7dfe17210a2aaeb5f35d77dd44b655.zip
- update peer counter
Diffstat (limited to 'src')
-rw-r--r--src/mesh/gnunet-mesh-profiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesh/gnunet-mesh-profiler.c b/src/mesh/gnunet-mesh-profiler.c
index 245df27f9..dd232895b 100644
--- a/src/mesh/gnunet-mesh-profiler.c
+++ b/src/mesh/gnunet-mesh-profiler.c
@@ -404,6 +404,8 @@ adjust_running_peers (unsigned int target)
404 op = GNUNET_TESTBED_peer_manage_service (&peers[r], testbed_handles[r], 404 op = GNUNET_TESTBED_peer_manage_service (&peers[r], testbed_handles[r],
405 "mesh", NULL, NULL, run); 405 "mesh", NULL, NULL, run);
406 GNUNET_break (NULL != op); 406 GNUNET_break (NULL != op);
407 peers_running += run ? 1 : -1;
408 GNUNET_assert (peers_running > 0);
407 } 409 }
408} 410}
409 411