aboutsummaryrefslogtreecommitdiff
path: root/src/testing
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 /src/testing
parent69b639df7504c410bb14a78865fa769cfa0ad11e (diff)
downloadgnunet-7c25a6b3f331213491c8bcb1d84e8ea7d96e3cac.tar.gz
gnunet-7c25a6b3f331213491c8bcb1d84e8ea7d96e3cac.zip
set peer state properly
Diffstat (limited to 'src/testing')
-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)
5611 { 5611 {
5612 cb = helper->pg->peers[i].daemon->cb; 5612 cb = helper->pg->peers[i].daemon->cb;
5613 helper->pg->peers[i].daemon->cb = NULL; 5613 helper->pg->peers[i].daemon->cb = NULL;
5614 5614 helper->pg->peers[i].daemon->running = GNUNET_YES;
5615 helper->pg->peers[i].daemon->phase = SP_START_DONE;
5615 if (NULL != cb) 5616 if (NULL != cb)
5616 { 5617 {
5617 if ((type != GNUNET_OS_PROCESS_EXITED) || (code != 0)) 5618 if ((type != GNUNET_OS_PROCESS_EXITED) || (code != 0))