diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2008-09-19 19:34:53 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2008-09-19 19:34:53 +0000 |
commit | 9a6c8727f04095d22a882015d1a4264e2029c3e6 (patch) | |
tree | db519bf66a3fc19466874a280ca4bb53dbc4ce80 /cpp/src | |
parent | af1ed395176fad8d50760b330c335e9cd25543ef (diff) | |
download | qpid-python-9a6c8727f04095d22a882015d1a4264e2029c3e6.tar.gz |
correction to last commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697207 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/acl/AclData.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/acl/AclData.cpp b/cpp/src/qpid/acl/AclData.cpp index b9501ce6c1..fce7182140 100644 --- a/cpp/src/qpid/acl/AclData.cpp +++ b/cpp/src/qpid/acl/AclData.cpp @@ -59,7 +59,7 @@ AclResult AclData::lookup(const std::string& id, const Action& action, const Obj if (actionList[action] && actionList[action][objType]){ AclData::actObjItr itrRule = actionList[action][objType]->find(id); - if (itrRule != actionList[action][objType]->end()) + if (itrRule == actionList[action][objType]->end()) itrRule = actionList[action][objType]->find("*"); if (itrRule != actionList[action][objType]->end() ) { @@ -97,7 +97,7 @@ AclResult AclData::lookup(const std::string& id, const Action& action, const Obj if (actionList[action] && actionList[action][objType]){ AclData::actObjItr itrRule = actionList[action][objType]->find(id); - if (itrRule != actionList[action][objType]->end()) + if (itrRule == actionList[action][objType]->end()) itrRule = actionList[action][objType]->find("*"); if (itrRule != actionList[action][objType]->end() ) { |