From 0c759ef18258b8a89fedf07cf2ff6478f51020f2 Mon Sep 17 00:00:00 2001 From: Liang Hou Date: Mon, 26 Nov 2007 05:26:36 +0000 Subject: update for unsubscribe/renew interface change --- src/wsman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit