projects
/
platform
/
upstream
/
libsoup.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb3f314
)
added code to soup_soap_response_from_string to ignore header element
author
Harish Krishnaswamy
<kharish@src.gnome.org>
Fri, 9 Jan 2004 16:05:57 +0000
(16:05 +0000)
committer
Harish Krishnaswamy
<kharish@src.gnome.org>
Fri, 9 Jan 2004 16:05:57 +0000
(16:05 +0000)
while forming response objects, if they are present.
libsoup/soup-soap-response.c
patch
|
blob
|
history
diff --git
a/libsoup/soup-soap-response.c
b/libsoup/soup-soap-response.c
index
478f539
..
a537a6c
100644
(file)
--- a/
libsoup/soup-soap-response.c
+++ b/
libsoup/soup-soap-response.c
@@
-174,6
+174,8
@@
soup_soap_response_from_string (SoupSoapResponse *response, const char *xmlstr)
if (xml_root->xmlChildrenNode != NULL) {
xml_body = xml_root->xmlChildrenNode;
+ if (strcmp (xml_body->name, "Header") == 0)
+ xml_body = xml_root->xmlChildrenNode->next;
if (strcmp (xml_body->name, "Body") != 0) {
xmlFreeDoc (response->priv->xmldoc);
response->priv->xmldoc = old_doc;