summaryrefslogtreecommitdiffstats
path: root/examples/create_resource.c
diff options
context:
space:
mode:
authorAnas Nashif <nashif@intel.com>2007-05-04 22:28:38 +0000
committerAnas Nashif <nashif@intel.com>2007-05-04 22:28:38 +0000
commit23a0079658f810c7d18b7a05fbf210d74cee2b13 (patch)
treefecdc35caa5afec7dd1ba6c46809196d97b15b08 /examples/create_resource.c
parent96c514f19dc504afeafef715447b5e27c00b1ead (diff)
improve client thread safety.
Diffstat (limited to 'examples/create_resource.c')
-rw-r--r--examples/create_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/create_resource.c b/examples/create_resource.c
index 69ee688..8135e52 100644
--- a/examples/create_resource.c
+++ b/examples/create_resource.c
@@ -128,13 +128,13 @@ int main(int argc, char** argv)
}
- wsman_client_transport_init(NULL);
cl = wsman_create_client( uri->host,
uri->port,
uri->path,
uri->scheme,
uri->user,
uri->pwd);
+ wsman_client_transport_init(cl, NULL);
options = initialize_action_options();
if (dump) wsman_set_action_option(options,FLAG_DUMP_REQUEST );