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 | ad34b9a1fb8888729582fe5ea959fc490c6a35af (patch) | |
tree | c3538ed07462dd5f159e54255db7596387a74884 | |
parent | 7815b840b386dcb87038b5da6037bf02938630b2 (diff) | |
download | qpid-python-ad34b9a1fb8888729582fe5ea959fc490c6a35af.tar.gz |
correction to last commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@697207 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/src/qpid/acl/AclData.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/acl/AclData.cpp b/qpid/cpp/src/qpid/acl/AclData.cpp index b9501ce6c1..fce7182140 100644 --- a/qpid/cpp/src/qpid/acl/AclData.cpp +++ b/qpid/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() ) { |