Remove extra eol from log stream.
authorScott Cantor <cantor.2@osu.edu>
Tue, 4 Mar 2008 03:29:31 +0000 (03:29 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 4 Mar 2008 03:29:31 +0000 (03:29 +0000)
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.");
-    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);
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.");
-    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);