From 4838770162f6d305696606d421b87481e2356038 Mon Sep 17 00:00:00 2001 From: "Stephen D. Huston" Date: Thu, 30 Oct 2008 23:41:45 +0000 Subject: Fix Acl references related to QPID-1368 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709293 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/acl/AclReader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/acl/AclReader.cpp') 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 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]); -- cgit v1.2.1