summaryrefslogtreecommitdiffstats
path: root/lasso/xml/lib_assertion.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/lib_assertion.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/lib_assertion.c')
-rw-r--r--lasso/xml/lib_assertion.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/xml/lib_assertion.c b/lasso/xml/lib_assertion.c
index 2972c202..bf9e3859 100644
--- a/lasso/xml/lib_assertion.c
+++ b/lasso/xml/lib_assertion.c
@@ -59,10 +59,11 @@ void
lasso_lib_assertion_set_inResponseTo(LassoLibAssertion *node,
const xmlChar *inResponseTo)
{
+ LassoNodeClass *class;
g_assert(LASSO_IS_LIB_ASSERTION(node));
g_assert(inResponseTo != NULL);
- LassoNodeClass *class = LASSO_NODE_GET_CLASS(node);
+ class = LASSO_NODE_GET_CLASS(node);
class->set_prop(LASSO_NODE (node), "InResponseTo", inResponseTo);
}