aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_testbed.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-03-05 10:27:00 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-03-05 10:27:00 +0000
commit9e6ab20fa33948e18f544fc14f549375b2fabc21 (patch)
tree09559a126ef72c0217f47c973f23cd95e571490f /src/testbed/testbed_api_testbed.c
parentad6e95164e90e91911afec9161edbb7051946604 (diff)
- fix
Diffstat (limited to 'src/testbed/testbed_api_testbed.c')
-rw-r--r--src/testbed/testbed_api_testbed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c
index bbc89f43fa..1297bfc231 100644
--- a/src/testbed/testbed_api_testbed.c
+++ b/src/testbed/testbed_api_testbed.c
@@ -1138,7 +1138,7 @@ GNUNET_TESTBED_run (const char *host_filename,
"Ignoring value of `OVERLAY_RANDOM_LINKS' in given configuration\n");
break;
}
- if (NULL != host_filename)
+ if (0 != rc->num_hosts)
{
rc->hc_handles =
GNUNET_malloc (sizeof (struct GNUNET_TESTBED_HostHabitableCheckHandle *)