summaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_hosts.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
commit1e007a89197769e4e0f5ad36b583689a27f33cac (patch)
tree0fd01027c4f1feb0e6f9480d3a234fc9f3f35cea /src/testbed/testbed_api_hosts.c
parent3d046f081a476705931e0e27fe678936b2ed2f05 (diff)
downloadgnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.tar.gz
gnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.zip
- coverity fixes
Diffstat (limited to 'src/testbed/testbed_api_hosts.c')
-rw-r--r--src/testbed/testbed_api_hosts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/testbed/testbed_api_hosts.c b/src/testbed/testbed_api_hosts.c
index 2593f5ff8..bb6197e9a 100644
--- a/src/testbed/testbed_api_hosts.c
+++ b/src/testbed/testbed_api_hosts.c
@@ -1086,8 +1086,7 @@ helper_mst (void *cls, void *client, const struct GNUNET_MessageHeader *message)
1086 GNUNET_assert (GNUNET_CONFIGURATION_deserialize 1086 GNUNET_assert (GNUNET_CONFIGURATION_deserialize
1087 (cp->host->cfg, config, config_size, GNUNET_NO)); 1087 (cp->host->cfg, config, config_size, GNUNET_NO));
1088 GNUNET_free (config); 1088 GNUNET_free (config);
1089 if ((NULL == cp->host) || 1089 if (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host)))
1090 (NULL == (hostname = GNUNET_TESTBED_host_get_hostname (cp->host))))
1091 hostname = "localhost"; 1090 hostname = "localhost";
1092 /* Change the hostname so that we can connect to it */ 1091 /* Change the hostname so that we can connect to it */
1093 GNUNET_CONFIGURATION_set_value_string (cp->host->cfg, "testbed", "hostname", 1092 GNUNET_CONFIGURATION_set_value_string (cp->host->cfg, "testbed", "hostname",