diff options
author | Ted Ross <tross@apache.org> | 2011-03-23 21:51:05 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2011-03-23 21:51:05 +0000 |
commit | 820cdd6331f8851a831ec19691d0d7555a6b1559 (patch) | |
tree | 74b648880b043616c85b335ccc41ffe5ed4ce2e2 | |
parent | 55c35365f754bbfce040b4e82f618a31fcac36f3 (diff) | |
download | qpid-python-820cdd6331f8851a831ec19691d0d7555a6b1559.tar.gz |
NO-JIRA - ACL Modules "reload" method now returns OK status if there was no error.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1084768 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/src/qpid/acl/Acl.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/acl/Acl.cpp b/cpp/src/qpid/acl/Acl.cpp index 67603015d7..4b3dda7962 100644 --- a/cpp/src/qpid/acl/Acl.cpp +++ b/cpp/src/qpid/acl/Acl.cpp @@ -180,7 +180,10 @@ Acl::Acl (AclValues& av, Broker& b): aclValues(av), broker(&b), transferAcl(fals { case _qmf::Acl::METHOD_RELOADACLFILE : readAclFile(text); - status = Manageable::STATUS_USER; + if (text.empty()) + status = Manageable::STATUS_OK; + else + status = Manageable::STATUS_USER; break; } |