diff options
author | Anas Nashif <nashif@intel.com> | 2007-01-25 20:19:06 +0000 |
---|---|---|
committer | Anas Nashif <nashif@intel.com> | 2007-01-25 20:19:06 +0000 |
commit | 0117e6866b9becd6a4ff338b71705be27e21ce65 (patch) | |
tree | 893a11975ffb21c1df51d4fc8b55b014cf9f1bb2 /examples | |
parent | 1869b59560fd78b7c196003d42821b4057d14d3f (diff) | |
download | wsmancli-0117e6866b9becd6a4ff338b71705be27e21ce65.tar.gz wsmancli-0117e6866b9becd6a4ff338b71705be27e21ce65.tar.xz wsmancli-0117e6866b9becd6a4ff338b71705be27e21ce65.zip |
adapt invoke calls
Diffstat (limited to 'examples')
-rw-r--r-- | examples/win32_service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/win32_service.c b/examples/win32_service.c index 279e6a0..681d350 100644 --- a/examples/win32_service.c +++ b/examples/win32_service.c @@ -246,14 +246,14 @@ int main(int argc, char** argv) if (dump) wsman_set_action_option(&options,FLAG_DUMP_REQUEST ); wsman_client_add_selector(&options, "Name", argv[1]); doc = wsman_invoke(cl, RESOURCE_URI, - "StartService", options); + "StartService", NULL, options); ws_xml_dump_node_tree(stdout, ws_xml_get_doc_root(doc)); ws_xml_destroy_doc(doc); } else if (stop && argv[1]) { if (dump) wsman_set_action_option(&options,FLAG_DUMP_REQUEST ); wsman_client_add_selector(&options, "Name", argv[1]); doc = wsman_invoke(cl, RESOURCE_URI, - "StopService", options); + "StopService", NULL, options); ws_xml_dump_node_tree(stdout, ws_xml_get_doc_root(doc)); ws_xml_destroy_doc(doc); } else if ( argv[1] ) { |