From 0d199a734500191207138e5d42a7067a78fb070e Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Wed, 18 Jul 2012 11:58:26 +0000 Subject: [PATCH] fix --- src/testbed/testbed_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.25.1