diff options
author | Anas Nashif <nashif@intel.com> | 2007-03-29 18:29:31 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2007-03-29 18:29:31 +0000 |
commit | 3f5ed5e8b6a6e08b1d09be03bf8298bb1209cfa3 (patch) | |
tree | ccc2a5bc8141d7a8f212b3523d0741bb17a7b666 /examples/enum_epr.c | |
parent | 23e187b9a2225f4bd64c7088c2504432a6f477a1 (diff) | |
download | wsmancli-3f5ed5e8b6a6e08b1d09be03bf8298bb1209cfa3.tar.gz wsmancli-3f5ed5e8b6a6e08b1d09be03bf8298bb1209cfa3.tar.xz wsmancli-3f5ed5e8b6a6e08b1d09be03bf8298bb1209cfa3.zip |
merge branch with fixes of bg #71
Diffstat (limited to 'examples/enum_epr.c')
-rw-r--r-- | examples/enum_epr.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/enum_epr.c b/examples/enum_epr.c index 21f3cbd..1659323 100644 --- a/examples/enum_epr.c +++ b/examples/enum_epr.c @@ -131,7 +131,7 @@ int main(int argc, char** argv) WsManClient *cl; WsXmlDocH doc; - actionOptions options; + actionOptions *options; char retval = 0; u_error_t *error = NULL; @@ -176,9 +176,9 @@ int main(int argc, char** argv) uri->scheme, uri->user, uri->pwd); - initialize_action_options(&options); + options = initialize_action_options(); - wsman_set_action_option(&options, FLAG_ENUMERATION_ENUM_EPR); + wsman_set_action_option(options, FLAG_ENUMERATION_ENUM_EPR); list_t *l = list_create(LISTCOUNT_T_MAX); @@ -206,7 +206,7 @@ int main(int argc, char** argv) u_uri_free(uri); } - destroy_action_options(&options); + destroy_action_options(options); wsman_release_client(cl); return 0; } |