File bsc1105331.patch of Package openwsman.16236

diff -ruN -x '*~' -x '*.o' -x '*.a' -x '*.so' -x '*.so.[0-9]' -x autom4te.cache -x .deps -x .libs ../orig-openwsman-2.6.7/src/lib/wsman-client.c ./src/lib/wsman-client.c
--- ../orig-openwsman-2.6.7/src/lib/wsman-client.c	2017-11-28 09:31:55.000000000 +0100
+++ ./src/lib/wsman-client.c	2019-09-17 15:45:27.381152611 +0200
@@ -193,7 +193,7 @@
 		if (options->cim_ns) {
                   /* don't add CIM_NAMESPACE_SELECTOR twice */
                   if (options->selectors && list_count(options->selectors) > 0) {
-                    if (list_find(options->selectors, CIM_NAMESPACE_SELECTOR, _list_key_compare)) {
+                    if (!list_find(options->selectors, CIM_NAMESPACE_SELECTOR, _list_key_compare)) {
                       wsman_add_selector(header, CIM_NAMESPACE_SELECTOR, options->cim_ns);
                     }
                   }
openSUSE Build Service is sponsored by