aboutsummaryrefslogtreecommitdiff
path: root/src/testbed/testbed_api_services.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2012-10-01 14:59:31 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2012-10-01 14:59:31 +0000
commit6e08b7d1f56715c71ea6f0372b9abaddced8253b (patch)
tree86a0b09753e513687a63b0a818e064c425dfb12b /src/testbed/testbed_api_services.c
parentc2c1e98f13fe65acba7fb9123abc3dd515c61e78 (diff)
downloadgnunet-6e08b7d1f56715c71ea6f0372b9abaddced8253b.tar.gz
gnunet-6e08b7d1f56715c71ea6f0372b9abaddced8253b.zip
slave get config client part
Diffstat (limited to 'src/testbed/testbed_api_services.c')
-rw-r--r--src/testbed/testbed_api_services.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/testbed/testbed_api_services.c b/src/testbed/testbed_api_services.c
index caa0a58be..28978e10e 100644
--- a/src/testbed/testbed_api_services.c
+++ b/src/testbed/testbed_api_services.c
@@ -136,7 +136,6 @@ static void
136configuration_receiver (void *cls, const struct GNUNET_MessageHeader *msg) 136configuration_receiver (void *cls, const struct GNUNET_MessageHeader *msg)
137{ 137{
138 struct ServiceConnectData *data = cls; 138 struct ServiceConnectData *data = cls;
139 const struct GNUNET_TESTBED_PeerConfigurationInformationMessage *imsg;
140 struct GNUNET_TESTBED_Controller *c; 139 struct GNUNET_TESTBED_Controller *c;
141 const char *emsg; 140 const char *emsg;
142 struct GNUNET_TESTBED_EventInformation info; 141 struct GNUNET_TESTBED_EventInformation info;
@@ -159,9 +158,7 @@ configuration_receiver (void *cls, const struct GNUNET_MessageHeader *msg)
159 info.details.operation_finished.generic = NULL; 158 info.details.operation_finished.generic = NULL;
160 goto call_cb; 159 goto call_cb;
161 } 160 }
162 imsg = 161 data->cfg = GNUNET_TESTBED_get_config_from_peerinfo_msg_ (msg);
163 (const struct GNUNET_TESTBED_PeerConfigurationInformationMessage *) msg;
164 data->cfg = GNUNET_TESTBED_get_config_from_peerinfo_msg_ (imsg);
165 GNUNET_assert (NULL == data->op_result); 162 GNUNET_assert (NULL == data->op_result);
166 data->op_result = data->ca (data->cada_cls, data->cfg); 163 data->op_result = data->ca (data->cada_cls, data->cfg);
167 info.details.operation_finished.emsg = NULL; 164 info.details.operation_finished.emsg = NULL;