diff options
author | Rajith Muditha Attapattu <rajith@apache.org> | 2008-12-23 06:07:03 +0000 |
---|---|---|
committer | Rajith Muditha Attapattu <rajith@apache.org> | 2008-12-23 06:07:03 +0000 |
commit | 655d9d445269ab7deabb75cc98446ecd9c81ab6a (patch) | |
tree | e27277b54cd3c89af0163ea8fe487ae93a5e15ee /cpp/src | |
parent | c6ca02e184d0c22aa458aa41cd4d007978adb302 (diff) | |
download | qpid-python-655d9d445269ab7deabb75cc98446ecd9c81ab6a.tar.gz |
This is a fix for QPID-1545
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728880 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/acl/AclReader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/acl/AclReader.cpp b/cpp/src/qpid/acl/AclReader.cpp index 3e55beaf67..c407339390 100644 --- a/cpp/src/qpid/acl/AclReader.cpp +++ b/cpp/src/qpid/acl/AclReader.cpp @@ -352,7 +352,7 @@ AclReader::gmCitr AclReader::addGroup(const std::string& newGroupName) { void AclReader::addName(const std::string& name, nameSetPtr groupNameSet) { gmCitr citr = groups.find(name); - if (citr != groups.end()) { + if (citr != groups.end() && citr->first != name){ // This is a previously defined group: add all the names in that group to this group groupNameSet->insert(citr->second->begin(), citr->second->end()); } else { |