[cpp-opensaml COMMIT] /branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp
noreply at shibboleth.net
noreply at shibboleth.net
Thu Dec 22 23:05:06 GMT 2011
Author: scantor
Date: Thu Dec 22 23:05:06 2011
New Revision: 691
URL: http://svn.shibboleth.net/view/cpp-opensaml?rev=691&view=rev
Log:
Fix compiler issue for Debian
Modified:
branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp
Modified: branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp
URL: http://svn.shibboleth.net/view/cpp-opensaml/branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp?rev=691&r1=690&r2=691&view=diff
==============================================================================
--- branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp (original)
+++ branches/REL_2/saml/saml2/metadata/impl/MetadataProvider.cpp Thu Dec 22 23:05:06 2011
@@ -86,7 +86,7 @@
static const XMLCh SigFilter[] = UNICODE_LITERAL_23(S,i,g,n,a,t,u,r,e,M,e,t,a,d,a,t,a,F,i,l,t,e,r);
static const XMLCh Exclude[] = UNICODE_LITERAL_7(E,x,c,l,u,d,e);
static const XMLCh Include[] = UNICODE_LITERAL_7(I,n,c,l,u,d,e);
-static const XMLCh type[] = UNICODE_LITERAL_4(t,y,p,e);
+static const XMLCh _type[] = UNICODE_LITERAL_4(t,y,p,e);
MetadataProvider::MetadataProvider(const DOMElement* e)
{
@@ -101,7 +101,7 @@
DOMElement* child = XMLHelper::getFirstChildElement(e);
while (child) {
if (XMLString::equals(child->getLocalName(), _MetadataFilter)) {
- string t = XMLHelper::getAttrString(child, nullptr, type);
+ string t = XMLHelper::getAttrString(child, nullptr, _type);
if (!t.empty()) {
log.info("building MetadataFilter of type %s", t.c_str());
m_filters.push_back(conf.MetadataFilterManager.newPlugin(t.c_str(), child));
More information about the commits
mailing list