summaryrefslogtreecommitdiffstats
path: root/lasso/xml/samlp_request.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2004-08-13 15:16:13 +0000
committerFrederic Peters <fpeters@entrouvert.com>2004-08-13 15:16:13 +0000
commitda4e23d09cb5edb56c70ccc090d7929a72122043 (patch)
treedf0a4ae57e005302edc83daf953e79d27a753d80 /lasso/xml/samlp_request.c
parent2687aac1714a0fe2260d725dc4c628c2696134f4 (diff)
downloadlasso-da4e23d09cb5edb56c70ccc090d7929a72122043.tar.gz
lasso-da4e23d09cb5edb56c70ccc090d7929a72122043.tar.xz
lasso-da4e23d09cb5edb56c70ccc090d7929a72122043.zip
declarations first (and s/lenght/length/)
Diffstat (limited to 'lasso/xml/samlp_request.c')
-rw-r--r--lasso/xml/samlp_request.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/samlp_request.c b/lasso/xml/samlp_request.c
index 43d02275..a9d3d158 100644
--- a/lasso/xml/samlp_request.c
+++ b/lasso/xml/samlp_request.c
@@ -55,10 +55,11 @@ void
lasso_samlp_request_set_assertionArtifact(LassoSamlpRequest *node,
const xmlChar *assertionArtifact)
{
+ LassoNodeClass *class;
g_assert(LASSO_IS_SAMLP_REQUEST(node));
g_assert(assertionArtifact != NULL);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+ class = LASSO_NODE_GET_CLASS(node);
class->new_child(LASSO_NODE (node), "AssertionArtifact", assertionArtifact, FALSE);
}