From 8ad0f24af699bf221f6cb051b1eef62732ab32cc Mon Sep 17 00:00:00 2001 From: cantor Date: Tue, 4 Mar 2008 03:29:31 +0000 Subject: [PATCH] Remove extra eol from log stream. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@375 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- saml/saml1/binding/impl/SAML1POSTDecoder.cpp | 2 +- saml/saml2/binding/impl/SAML2POSTDecoder.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.1.4