projects
/
shibboleth
/
cpp-opensaml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c110f66
)
Work around apparent logging issue on Linux.
author
Scott Cantor
<cantor.2@osu.edu>
Tue, 4 Aug 2009 18:49:52 +0000
(18:49 +0000)
committer
Scott Cantor
<cantor.2@osu.edu>
Tue, 4 Aug 2009 18:49:52 +0000
(18:49 +0000)
saml/saml2/binding/impl/SAML2ECPEncoder.cpp
patch
|
blob
|
history
diff --git
a/saml/saml2/binding/impl/SAML2ECPEncoder.cpp
b/saml/saml2/binding/impl/SAML2ECPEncoder.cpp
index
5e6c614
..
a869598
100644
(file)
--- a/
saml/saml2/binding/impl/SAML2ECPEncoder.cpp
+++ b/
saml/saml2/binding/impl/SAML2ECPEncoder.cpp
@@
-225,8
+225,10
@@
long SAML2ECPEncoder::encode(
stringstream s;
s << *rootElement;
- if (log.isDebugEnabled())
- log.debug("marshalled envelope:\n%s", s.str().c_str());
+ if (log.isDebugEnabled()) {
+ string forlog(s.str());
+ log.debug("marshalled envelope:\n%s", forlog.c_str());
+ }
log.debug("sending serialized envelope");
long ret = genericResponse.sendResponse(s);