From f2fa9561ac93915661be2ea0b140f3c422ffef09 Mon Sep 17 00:00:00 2001 From: Frederic Peters Date: Thu, 23 Nov 2006 09:47:54 +0000 Subject: style and missing header --- lasso/saml-2.0/ecp.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lasso/saml-2.0/ecp.c b/lasso/saml-2.0/ecp.c index dd87632d..b3efb20e 100644 --- a/lasso/saml-2.0/ecp.c +++ b/lasso/saml-2.0/ecp.c @@ -29,6 +29,7 @@ #include #include #include +#include #include @@ -122,8 +123,8 @@ lasso_ecp_process_authn_request_msg(LassoEcp *ecp, const char *authn_request_msg buf = xmlAllocOutputBuffer(handler); xmlNodeDumpOutput(buf, NULL, xmlnode, 0, 0, "utf-8"); xmlOutputBufferFlush(buf); - LASSO_PROFILE(ecp)->msg_body = \ - g_strdup((char*)(buf->conv ? buf->conv->content : buf->buffer->content)); + LASSO_PROFILE(ecp)->msg_body = g_strdup( + (char*)(buf->conv ? buf->conv->content : buf->buffer->content)); xmlOutputBufferClose(buf); profile->remote_providerID = lasso_server_get_first_providerID(profile->server); @@ -215,8 +216,8 @@ lasso_ecp_process_response_msg(LassoEcp *ecp, const char *response_msg) buf = xmlAllocOutputBuffer(handler); xmlNodeDumpOutput(buf, NULL, new_envelope, 0, 0, "utf-8"); xmlOutputBufferFlush(buf); - LASSO_PROFILE(ecp)->msg_body = \ - g_strdup((char*)(buf->conv ? buf->conv->content : buf->buffer->content)); + LASSO_PROFILE(ecp)->msg_body = g_strdup( + (char*)(buf->conv ? buf->conv->content : buf->buffer->content)); xmlOutputBufferClose(buf); xmlFreeDoc(doc); -- cgit