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 | 24ca9a39f2b77142bfc98f3e51433f7f6f3ccb87 (patch) | |
| tree | 74b648880b043616c85b335ccc41ffe5ed4ce2e2 /cpp | |
| parent | 27b0612f0af99e0e001d4bbc6e7358200b766a7b (diff) | |
| download | qpid-python-24ca9a39f2b77142bfc98f3e51433f7f6f3ccb87.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
Diffstat (limited to 'cpp')
| -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; } |
