summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-18 23:52:19 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-18 23:52:19 +0000
commite82f1e759b107f79bd7d1233904401166bb3ac90 (patch)
treefced48ff93166922f4d26e82d31c1c7e4c92ae17
parent244c4e278f655d2434f3b65158a43816ac1a110d (diff)
downloadlasso-e82f1e759b107f79bd7d1233904401166bb3ac90.tar.gz
lasso-e82f1e759b107f79bd7d1233904401166bb3ac90.tar.xz
lasso-e82f1e759b107f79bd7d1233904401166bb3ac90.zip
New export type supported (Xml) in lasso_response_new_from_export
-rw-r--r--lasso/Attic/protocols/response.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lasso/Attic/protocols/response.c b/lasso/Attic/protocols/response.c
index 34854f62..d179331c 100644
--- a/lasso/Attic/protocols/response.c
+++ b/lasso/Attic/protocols/response.c
@@ -113,7 +113,6 @@ LassoNode*
lasso_response_new_from_export(xmlChar *buffer,
lassoNodeExportTypes export_type)
{
- xmlChar *buffer_decoded = xmlMalloc(strlen(buffer));
LassoNode *response = NULL, *soap_node, *response_node;
g_return_val_if_fail(buffer != NULL, NULL);
@@ -121,6 +120,9 @@ lasso_response_new_from_export(xmlChar *buffer,
response = LASSO_NODE(g_object_new(LASSO_TYPE_RESPONSE, NULL));
switch (export_type) {
+ case lassoNodeExportTypeXml:
+ lasso_node_import(response, buffer);
+ break;
case lassoNodeExportTypeBase64:
case lassoNodeExportTypeQuery:
break;