diff options
author | Vadim Revyakin <vadimr@intel.com> | 2006-11-21 16:01:57 +0000 |
---|---|---|
committer | Vadim Revyakin <vadimr@intel.com> | 2006-11-21 16:01:57 +0000 |
commit | e8e5d317ff64a63f96265bf64d3f47e9d9031cd7 (patch) | |
tree | 05c560f007de76a305081dad90221e0f17e3b915 /src/wsman.c | |
parent | 3dbd8973ae9ec424ddee5abbfb403b71ee3e3809 (diff) | |
download | wsmancli-e8e5d317ff64a63f96265bf64d3f47e9d9031cd7.tar.gz wsmancli-e8e5d317ff64a63f96265bf64d3f47e9d9031cd7.tar.xz wsmancli-e8e5d317ff64a63f96265bf64d3f47e9d9031cd7.zip |
Fault string is added to client structure
Diffstat (limited to 'src/wsman.c')
-rw-r--r-- | src/wsman.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wsman.c b/src/wsman.c index 7a9fadc..312c693 100644 --- a/src/wsman.c +++ b/src/wsman.c @@ -324,6 +324,9 @@ int main(int argc, char** argv) if (wsman_get_client_response_code(cl) != 200) { fprintf(stderr, "Connection failed. response code = %ld\n", wsman_get_client_response_code(cl)); + if (wsman_client_get_fault_string(cl)) { + fprintf(stderr, "%s\n", wsman_client_get_fault_string(cl)); + } } destroy_action_options(&options); |