From abfed18cf21e433677ec7a38f0400fef467cefc9 Mon Sep 17 00:00:00 2001 From: Liang Hou Date: Thu, 13 Dec 2007 01:27:44 +0000 Subject: fix an error in renew --- src/wsman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wsman.c b/src/wsman.c index b3f6bb2..4ef6ce0 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -814,7 +814,7 @@ int main(int argc, char **argv) } break; case WSMAN_ACTION_UNSUBSCRIBE: - snprintf(subscontext, 512 , "%s \ ", event_subscription_id); rqstDoc = wsmc_action_unsubscribe(cl, resource_uri, options, subscontext); @@ -829,7 +829,7 @@ int main(int argc, char **argv) snprintf(subscontext, 512 , "%s \ ", event_subscription_id); - rqstDoc = wsmc_action_renew(cl, resource_uri, options, event_subscription_id); + rqstDoc = wsmc_action_renew(cl, resource_uri, options, subscontext); wsman_output(cl, rqstDoc); if (rqstDoc) { ws_xml_destroy_doc(rqstDoc); -- cgit