summaryrefslogtreecommitdiffstats
path: root/src/wsman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wsman.c')
-rw-r--r--src/wsman.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wsman.c b/src/wsman.c
index b7ced16..e6c0456 100644
--- a/src/wsman.c
+++ b/src/wsman.c
@@ -313,7 +313,8 @@ int main(int argc, char** argv)
if (!wsman_options_get_step_request())
{
- while (enumContext !=NULL) {
+ while (enumContext !=NULL && enumContext[0] != 0 ) {
+
doc = wsenum_pull(cl, resource_uri, enumContext, options);
if (wsman_get_client_response_code(cl) != 200 &&