osaf/services/saf/immsv/immnd/ImmModel.cc |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


The patch fix the bug introduced in #643. With the path, when 
SA_IMM_SEARCH_GET_ALL_ATTR flag is set, the result contains attributes.

diff --git a/osaf/services/saf/immsv/immnd/ImmModel.cc 
b/osaf/services/saf/immsv/immnd/ImmModel.cc
--- a/osaf/services/saf/immsv/immnd/ImmModel.cc
+++ b/osaf/services/saf/immsv/immnd/ImmModel.cc
@@ -10688,7 +10688,7 @@ ImmModel::searchInitialize(ImmsvOmSearch
                                 obj->mClassInfo->mAttrMap.find(j->first);
                             osafassert(k != obj->mClassInfo->mAttrMap.end());
 
-                            if((searchOptions & SA_IMM_SEARCH_NO_RDN) && 
k->second->mFlags) {
+                            if((searchOptions & SA_IMM_SEARCH_NO_RDN) && 
(k->second->mFlags & SA_IMM_ATTR_RDN)) {
                                 /* NO_RDN flag is set. RDN will be excluded 
from the result */
                                 continue;
                             }

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to