From 86d8a73973f6c47fcfdf2005e7cf070d8b479124 Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Wed, 23 Mar 2011 21:51:05 +0000 Subject: 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@1084768 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/acl/Acl.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/qpid/cpp/src/qpid/acl/Acl.cpp b/qpid/cpp/src/qpid/acl/Acl.cpp index 67603015d7..4b3dda7962 100644 --- a/qpid/cpp/src/qpid/acl/Acl.cpp +++ b/qpid/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; } -- cgit v1.2.1