From: Sree Harsha Totakura Date: Tue, 5 Mar 2013 10:27:00 +0000 (+0000) Subject: - fix X-Git-Tag: initial-import-from-subversion-38251~9748 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=9e6ab20fa33948e18f544fc14f549375b2fabc21;p=oweals%2Fgnunet.git - fix --- diff --git a/src/testbed/testbed_api_testbed.c b/src/testbed/testbed_api_testbed.c index bbc89f43f..1297bfc23 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 *)