summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-17 10:14:32 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-02-17 10:14:32 +0000
commit7e43a5b53c13c89de565bfbdffe2f39dd2282d01 (patch)
tree7bc679d5214a90e759827b0116676da1ffe13c34
parent6aee19641031f3e2e7c61a761d092e2e3939d665 (diff)
ID-WSF 2.0: fix lasso_idwsf2_discovery_add_simple_service_metadata
* lasso/id-wsf-2.0/discovery.c: options is a string list, and security_mech_ids too, so employ the corresponding macros.
-rw-r--r--lasso/id-wsf-2.0/discovery.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-wsf-2.0/discovery.c b/lasso/id-wsf-2.0/discovery.c
index 765e387e..bb911a1a 100644
--- a/lasso/id-wsf-2.0/discovery.c
+++ b/lasso/id-wsf-2.0/discovery.c
@@ -399,7 +399,7 @@ lasso_idwsf2_discovery_add_simple_service_metadata(LassoIdWsf2Discovery *idwsf2_
lasso_assign_list_of_strings(service_context->ServiceType, service_types);
}
if (options) {
- lasso_assign_list_of_gobjects(service_context->Options, options);
+ lasso_assign_list_of_strings(service_context->Options, options);
}
endpoint_context = lasso_idwsf2_disco_endpoint_context_new();
if (address) {
@@ -407,7 +407,7 @@ lasso_idwsf2_discovery_add_simple_service_metadata(LassoIdWsf2Discovery *idwsf2_
}
lasso_list_add_new_gobject(endpoint_context->Framework, lasso_idwsf2_sbf_framework_new_full("2.0"));
if (security_mech_ids) {
- lasso_list_add_gstrv(endpoint_context->SecurityMechID, security_mech_ids);
+ lasso_assign_list_of_strings(endpoint_context->SecurityMechID, security_mech_ids);
}
lasso_list_add_new_gobject(service_context->EndpointContext, endpoint_context);