summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/acl/AclReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/acl/AclReader.cpp')
-rw-r--r--cpp/src/qpid/acl/AclReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/acl/AclReader.cpp b/cpp/src/qpid/acl/AclReader.cpp
index b0b95dc9fc..3e55beaf67 100644
--- a/cpp/src/qpid/acl/AclReader.cpp
+++ b/cpp/src/qpid/acl/AclReader.cpp
@@ -130,7 +130,7 @@ void AclReader::loadDecisionData( boost::shared_ptr<AclData> d )
for (int acnt= ((*i)->actionAll?0:(*i)->action);
acnt< acl::ACTIONSIZE; (*i)->actionAll?acnt++:acnt=acl::ACTIONSIZE ) {
- if (acnt == acl::PUBLISH) d->transferAcl = true; // we have transfer ACL
+ if (acnt == acl::ACT_PUBLISH) d->transferAcl = true; // we have transfer ACL
QPID_LOG(debug, "ACL Adding action:" << AclHelper::getActionStr((Action)acnt) );
@@ -414,7 +414,7 @@ bool AclReader::processAclLine(tokList& toks) {
errorStream << ACL_FORMAT_ERR_LOG_PREFIX << "Tokens found after action \"all\".";
return false;
}
- action = CONSUME; // dummy; compiler must initialize action for this code path
+ action = ACT_CONSUME; // dummy; compiler must initialize action for this code path
} else {
try {
action = AclHelper::getAction(toks[3]);