https://issues.shibboleth.net/jira/browse/SSPCPP-259
[shibboleth/cpp-sp.git] / shibsp / handler / impl / SAML2Logout.cpp
index d6931ce..5f5379d 100644 (file)
@@ -284,7 +284,7 @@ pair<bool,long> SAML2Logout::doRequest(const Application& application, const HTT
                 worked2 = true;
             }
             catch (exception& ex) {
-                m_log.error("error removing session (%s): %s", session_id, ex.what());
+                m_log.error("error removing session (%s): %s", session_id.c_str(), ex.what());
             }
         }
         else {