summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-11-18 10:00:53 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-11-18 10:00:53 +0000
commit0d17f7335e4cbd3d2604814097808a1a33b681bd (patch)
tree659380e350132d50ee9c9af1468056cae376c298
parent59bdda3549b13cbe97ce49fdb541f8bad006f08e (diff)
server is not part of <profile> dump
-rw-r--r--lasso/id-ff/profile.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index cd5b3d86..4cb022ea 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -263,13 +263,6 @@ get_xmlNode(LassoNode *node)
xmlSetNs(xmlnode, xmlNewNs(xmlnode, LASSO_LASSO_HREF, NULL));
xmlSetProp(xmlnode, "Version", "2");
- /* XXX: server is not saved in profile dump */
- /* (what was the reason ?)
- if (profile->server) {
- xmlAddChild(xmlnode, lasso_node_get_xmlNode(LASSO_NODE(profile->server)));
- }
- */
-
if (profile->request) {
t = xmlNewTextChild(xmlnode, NULL, "Request", NULL);
xmlAddChild(t, lasso_node_get_xmlNode(profile->request));
@@ -319,12 +312,6 @@ init_from_xml(LassoNode *node, xmlNode *xmlnode)
if (strcmp(t->name, "MsgRelayState") == 0)
profile->msg_relayState = xmlNodeGetContent(t);
- if (strcmp(t->name, "Server") == 0) {
- LassoServer *s;
- s = g_object_new(LASSO_TYPE_SERVER, NULL);
- LASSO_NODE_GET_CLASS(s)->init_from_xml(LASSO_NODE(s), t);
- }
-
if (strcmp(t->name, "Request") == 0) {
xmlNode *t2 = t->children;
while (t2 && t2->type != XML_ELEMENT_NODE)