diff options
author | Liang Hou <houliang@intel.com> | 2007-11-26 05:26:36 +0000 |
---|---|---|
committer | Liang Hou <houliang@intel.com> | 2007-11-26 05:26:36 +0000 |
commit | 0c759ef18258b8a89fedf07cf2ff6478f51020f2 (patch) | |
tree | 773b87e9e94f90591dfabf0bd7dcf3898bfa67d8 /src | |
parent | 23071f7615d3ee5021c34afe5661da11b6f9ea58 (diff) | |
download | wsmancli-0c759ef18258b8a89fedf07cf2ff6478f51020f2.tar.gz wsmancli-0c759ef18258b8a89fedf07cf2ff6478f51020f2.tar.xz wsmancli-0c759ef18258b8a89fedf07cf2ff6478f51020f2.zip |
update for unsubscribe/renew interface change
Diffstat (limited to 'src')
-rw-r--r-- | src/wsman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wsman.c b/src/wsman.c index 9dbd12b..c0cfba8 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -814,7 +814,7 @@ int main(int argc, char **argv) } break; case WSMAN_ACTION_UNSUBSCRIBE: - rqstDoc = wsmc_action_unsubscribe(cl, options, event_subscription_id); + rqstDoc = wsmc_action_unsubscribe(cl, resource_uri, options, event_subscription_id); wsman_output(cl, rqstDoc); if (rqstDoc) { ws_xml_destroy_doc(rqstDoc); @@ -823,7 +823,7 @@ int main(int argc, char **argv) case WSMAN_ACTION_RENEW: if(event_subscription_expire) options->expires = event_subscription_expire; - rqstDoc = wsmc_action_renew(cl, options, event_subscription_id); + rqstDoc = wsmc_action_renew(cl, resource_uri, options, event_subscription_id); wsman_output(cl, rqstDoc); if (rqstDoc) { ws_xml_destroy_doc(rqstDoc); |