diff options
author | Liang Hou <houliang@intel.com> | 2007-09-23 05:47:11 +0000 |
---|---|---|
committer | Liang Hou <houliang@intel.com> | 2007-09-23 05:47:11 +0000 |
commit | 54823c3644309f59ee69f8c301ee5aa2f07b2cd8 (patch) | |
tree | 40c1ed184ed443562252ac0fd65533e98b3f44aa /src/wsman.c | |
parent | 7619468cf25e62c2b5653fb216ea149729486c0b (diff) | |
download | wsmancli-54823c3644309f59ee69f8c301ee5aa2f07b2cd8.tar.gz wsmancli-54823c3644309f59ee69f8c301ee5aa2f07b2cd8.tar.xz wsmancli-54823c3644309f59ee69f8c301ee5aa2f07b2cd8.zip |
update for wsmc_read_file interface change
Diffstat (limited to 'src/wsman.c')
-rw-r--r-- | src/wsman.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wsman.c b/src/wsman.c index 308a872..4705abd 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -608,7 +608,7 @@ int main(int argc, char **argv) switch (op) { case WSMAN_ACTION_TEST: - rqstDoc = wsmc_read_file(cl, input, "UTF-8", 0); + rqstDoc = wsmc_read_file(input, "UTF-8", 0); wsman_send_request(cl, rqstDoc); doc = wsmc_build_envelope_from_response(cl); wsman_output(cl, doc); @@ -642,7 +642,7 @@ int main(int argc, char **argv) break; case WSMAN_ACTION_TRANSFER_CREATE: if (input) { - resource = wsmc_read_file(cl, input, "UTF-8", 0); + resource = wsmc_read_file(input, "UTF-8", 0); doc = wsmc_action_create(cl, resource_uri, options, resource); @@ -658,7 +658,7 @@ int main(int argc, char **argv) case WSMAN_ACTION_TRANSFER_PUT: if (input) { printf("input file provided\n"); - resource = wsmc_read_file(cl, input, "UTF-8", 0); + resource = wsmc_read_file(input, "UTF-8", 0); doc = wsmc_action_put(cl, resource_uri, options, resource); |