Remove extra eol from log stream.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 4 Mar 2008 03:29:31 +0000 (03:29 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Tue, 4 Mar 2008 03:29:31 +0000 (03:29 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@375 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

saml/saml1/binding/impl/SAML1POSTDecoder.cpp
saml/saml2/binding/impl/SAML2POSTDecoder.cpp

index 0ce1779..16a6bc1 100644 (file)
@@ -94,7 +94,7 @@ XMLObject* SAML1POSTDecoder::decode(
     XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(samlResponse),&x);
     if (!decoded)
         throw BindingException("Unable to decode base64 in POST profile response.");
     XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(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);
 
     // Parse and bind the document into an XMLObject.
     MemBufInputSource src(decoded, x, "SAMLResponse", true);
index fb0342b..7be9f55 100644 (file)
@@ -98,7 +98,7 @@ XMLObject* SAML2POSTDecoder::decode(
     XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(msg),&x);
     if (!decoded)
         throw BindingException("Unable to decode base64 in POST binding message.");
     XMLByte* decoded=Base64::decode(reinterpret_cast<const XMLByte*>(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);
     
     // Parse and bind the document into an XMLObject.
     MemBufInputSource src(decoded, x, "SAMLMessage", true);