summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl C. Trieloff <cctrieloff@apache.org>2008-09-19 19:34:53 +0000
committerCarl C. Trieloff <cctrieloff@apache.org>2008-09-19 19:34:53 +0000
commitad34b9a1fb8888729582fe5ea959fc490c6a35af (patch)
treec3538ed07462dd5f159e54255db7596387a74884
parent7815b840b386dcb87038b5da6037bf02938630b2 (diff)
downloadqpid-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.cpp4
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() ) {