From: cantor Date: Tue, 4 Mar 2008 03:29:31 +0000 (+0000) Subject: Remove extra eol from log stream. X-Git-Tag: 2.4.1~247 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=8ad0f24af699bf221f6cb051b1eef62732ab32cc Remove extra eol from log stream. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@375 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/saml/saml1/binding/impl/SAML1POSTDecoder.cpp b/saml/saml1/binding/impl/SAML1POSTDecoder.cpp index 0ce1779..16a6bc1 100644 --- a/saml/saml1/binding/impl/SAML1POSTDecoder.cpp +++ b/saml/saml1/binding/impl/SAML1POSTDecoder.cpp @@ -94,7 +94,7 @@ XMLObject* SAML1POSTDecoder::decode( XMLByte* decoded=Base64::decode(reinterpret_cast(samlResponse),&x); if (!decoded) throw BindingException("Unable to decode base64 in POST profile response."); - log.debugStream() << "decoded SAML response:" << logging::eol << decoded << logging::eol; + log.debugStream() << "decoded SAML response:\n" << decoded << logging::eol; // Parse and bind the document into an XMLObject. MemBufInputSource src(decoded, x, "SAMLResponse", true); diff --git a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp index fb0342b..7be9f55 100644 --- a/saml/saml2/binding/impl/SAML2POSTDecoder.cpp +++ b/saml/saml2/binding/impl/SAML2POSTDecoder.cpp @@ -98,7 +98,7 @@ XMLObject* SAML2POSTDecoder::decode( XMLByte* decoded=Base64::decode(reinterpret_cast(msg),&x); if (!decoded) throw BindingException("Unable to decode base64 in POST binding message."); - log.debugStream() << "decoded SAML message:" << logging::eol << decoded << logging::eol; + log.debugStream() << "decoded SAML message:\n" << decoded << logging::eol; // Parse and bind the document into an XMLObject. MemBufInputSource src(decoded, x, "SAMLMessage", true);