summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl
diff options
context:
space:
mode:
authorKen Giusti <kgiusti@apache.org>2012-05-25 17:24:52 +0000
committerKen Giusti <kgiusti@apache.org>2012-05-25 17:24:52 +0000
commit9e0ed320e420f027f7d631c357b0b44315fd39aa (patch)
treeba608e66deb8310c56cdecca66d210504463e0d7 /cpp/src/qpid/acl
parent9b2c35990606ebe621893bccfa206940de857a67 (diff)
downloadqpid-python-9e0ed320e420f027f7d631c357b0b44315fd39aa.tar.gz
NO-JIRA: fix some defects found by Coverity static analysis scan of C++ code
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1342742 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/acl')
-rw-r--r--cpp/src/qpid/acl/Acl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/acl/Acl.cpp b/cpp/src/qpid/acl/Acl.cpp
index 917c2e3398..2962a9c1ba 100644
--- a/cpp/src/qpid/acl/Acl.cpp
+++ b/cpp/src/qpid/acl/Acl.cpp
@@ -63,8 +63,8 @@ Acl::Acl (AclValues& av, Broker& b): aclValues(av), broker(&b), transferAcl(fals
}
std::string errorString;
if (!readAclFile(errorString)){
- throw Exception("Could not read ACL file " + errorString);
if (mgmtObject!=0) mgmtObject->set_enforcingAcl(0);
+ throw Exception("Could not read ACL file " + errorString);
}
broker->getConnectionObservers().add(connectionCounter);
QPID_LOG(info, "ACL Plugin loaded");