diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:14:48 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-01-04 09:14:48 +0000 |
| commit | 1c8c8a4688314d55b93e1125abda1ac0a8bf71ad (patch) | |
| tree | 6c43b7771a91fa6c6ffe621de65a302751a7db9b /lasso/id-wsf | |
| parent | 02a2b92f92e435d09ba746cc5dcdacc0fe10db3a (diff) | |
| download | lasso-1c8c8a4688314d55b93e1125abda1ac0a8bf71ad.tar.gz lasso-1c8c8a4688314d55b93e1125abda1ac0a8bf71ad.tar.xz lasso-1c8c8a4688314d55b93e1125abda1ac0a8bf71ad.zip | |
ID-WSF: in discovery.c:lasso_discovery_init_resource_offering, add doc annotations, use assignment macros to set output argument
Diffstat (limited to 'lasso/id-wsf')
| -rw-r--r-- | lasso/id-wsf/discovery.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lasso/id-wsf/discovery.c b/lasso/id-wsf/discovery.c index b0ebba0d..7bb67d29 100644 --- a/lasso/id-wsf/discovery.c +++ b/lasso/id-wsf/discovery.c @@ -864,8 +864,8 @@ cleanup: /** * lasso_discovery_init_resource_offering: * @discovery: a #LassoDiscovery object - * @security_mech_id: a security mechanism string identifier - * @output_offering: a pointer to a variable to hold the found resource offering + * @security_mech_id: (allow-none): a security mechanism string identifier + * @output_offering: (allow-none) (out): a pointer to a variable to hold the found resource offering * * Return value: 0 if successfull, an error code otherwise. **/ @@ -890,8 +890,9 @@ lasso_discovery_init_resource_offering(LassoDiscovery *discovery, goto_cleanup_if_fail (! rc); cleanup: if (output_offering) { - *output_offering = offering; + lasso_assign_gobject(*output_offering, offering); } + lasso_release_gobject(offering); return rc; } /** |
