summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2011-03-15 10:56:33 +0000
committerNathan S. Evans <evans@in.tum.de>2011-03-15 10:56:33 +0000
commit7c25a6b3f331213491c8bcb1d84e8ea7d96e3cac (patch)
treec54dd6ed0ab9ce077a407c3c3948eb8003e43759
parent69b639df7504c410bb14a78865fa769cfa0ad11e (diff)
set peer state properly
-rw-r--r--src/testing/testing_group.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testing/testing_group.c b/src/testing/testing_group.c
index da67e98e9..0f9b9534a 100644
--- a/src/testing/testing_group.c
+++ b/src/testing/testing_group.c
@@ -5611,7 +5611,8 @@ check_peers_started (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
{
cb = helper->pg->peers[i].daemon->cb;
helper->pg->peers[i].daemon->cb = NULL;
-
+ helper->pg->peers[i].daemon->running = GNUNET_YES;
+ helper->pg->peers[i].daemon->phase = SP_START_DONE;
if (NULL != cb)
{
if ((type != GNUNET_OS_PROCESS_EXITED) || (code != 0))