summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/federation_termination.c
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-31 20:34:46 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-31 20:34:46 +0000
commit0ecf1691ba1f1590b480ee53a6af0c0dbb66424a (patch)
treeb8bee0ef463e7bdb376789c19f5d0d77f2fcb3e9 /lasso/id-ff/federation_termination.c
parented561ce190fb10c4dc35e8c23c39c7292f14e5bc (diff)
downloadlasso-0ecf1691ba1f1590b480ee53a6af0c0dbb66424a.tar.gz
lasso-0ecf1691ba1f1590b480ee53a6af0c0dbb66424a.tar.xz
lasso-0ecf1691ba1f1590b480ee53a6af0c0dbb66424a.zip
Added a new argument 'err' in 4 methods of the LassoNode class:
lasso_node_get_attr lasso_node_get_child lasso_node_get_child_content lasso_node_get_content for reporting errors.
Diffstat (limited to 'lasso/id-ff/federation_termination.c')
-rw-r--r--lasso/id-ff/federation_termination.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/lasso/id-ff/federation_termination.c b/lasso/id-ff/federation_termination.c
index 531ce9a9..a756b343 100644
--- a/lasso/id-ff/federation_termination.c
+++ b/lasso/id-ff/federation_termination.c
@@ -149,7 +149,7 @@ lasso_federation_termination_init_notification(LassoFederationTermination *defed
}
/* build the request */
- content = lasso_node_get_content(nameIdentifier);
+ content = lasso_node_get_content(nameIdentifier, NULL);
nameQualifier = lasso_node_get_attr_value(nameIdentifier, "NameQualifier", NULL);
format = lasso_node_get_attr_value(nameIdentifier, "Format", NULL);
profile->request = lasso_federation_termination_notification_new(profile->server->providerID,
@@ -206,11 +206,11 @@ lasso_federation_termination_load_notification_msg(LassoFederationTermination *d
/* get the NameIdentifier to load identity dump */
profile->nameIdentifier = lasso_node_get_child_content(profile->request,
- "NameIdentifier", NULL);
+ "NameIdentifier", NULL, NULL);
/* get the RelayState */
profile->msg_relayState = lasso_node_get_child_content(profile->request,
- "RelayState", NULL);
+ "RelayState", NULL, NULL);
return(0);
}
@@ -230,13 +230,15 @@ lasso_federation_termination_process_notification(LassoFederationTermination *de
}
/* set the remote provider id from the request */
- profile->remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID", NULL);
+ profile->remote_providerID = lasso_node_get_child_content(profile->request, "ProviderID",
+ NULL, NULL);
if(profile->remote_providerID == NULL) {
message(G_LOG_LEVEL_ERROR, "Remote provider id not found\n");
return(-1);
}
- nameIdentifier = lasso_node_get_child(profile->request, "NameIdentifier", NULL);
+ nameIdentifier = lasso_node_get_child(profile->request, "NameIdentifier",
+ NULL, NULL);
if(nameIdentifier == NULL) {
message(G_LOG_LEVEL_ERROR, "Name identifier not found in request\n");
return(-1);