From: Sree Harsha Totakura Date: Wed, 18 Jul 2012 11:58:26 +0000 (+0000) Subject: fix X-Git-Tag: initial-import-from-subversion-38251~12438 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0d199a734500191207138e5d42a7067a78fb070e;p=oweals%2Fgnunet.git fix --- diff --git a/src/testbed/testbed_api.c b/src/testbed/testbed_api.c index 1815c5ec8..5af8d71c6 100644 --- a/src/testbed/testbed_api.c +++ b/src/testbed/testbed_api.c @@ -505,7 +505,7 @@ static int helper_mst (void *cls, void *client, config_size, GNUNET_NO)); /* Change the hostname so that we can connect to it */ GNUNET_CONFIGURATION_set_value_string (cp->cfg, "testbed", "hostname", - (NULL == cp->cfg) ? "localhost" : + (NULL == cp->host) ? "localhost" : GNUNET_TESTBED_host_get_hostname_ (cp->host)); cp->cb (cp->cls, cp->cfg, GNUNET_OK); return GNUNET_OK;