summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/identity.c
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2007-04-24 15:40:20 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2007-04-24 15:40:20 +0000
commit4742f85471262ea703bde9f719abc7f2f6d3a7cf (patch)
tree4e98f7c0f7d69aee68f8539fe28df30b5d90ab7f /lasso/id-ff/identity.c
parent5c99d2ea80d0aade07462a8d3ee7e329a76e2c7a (diff)
downloadlasso-4742f85471262ea703bde9f719abc7f2f6d3a7cf.tar.gz
lasso-4742f85471262ea703bde9f719abc7f2f6d3a7cf.tar.xz
lasso-4742f85471262ea703bde9f719abc7f2f6d3a7cf.zip
coding style fix
Diffstat (limited to 'lasso/id-ff/identity.c')
-rw-r--r--lasso/id-ff/identity.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c
index cf1f703a..794385ef 100644
--- a/lasso/id-ff/identity.c
+++ b/lasso/id-ff/identity.c
@@ -329,10 +329,11 @@ get_xmlNode(LassoNode *node, gboolean lasso_dump)
/* Endpoint References */
if (identity->private_data->eprs != NULL
- && g_hash_table_size(identity->private_data->eprs))
+ && g_hash_table_size(identity->private_data->eprs)) {
t = xmlNewTextChild(xmlnode, NULL, (xmlChar*)"EndpointReferences", NULL);
g_hash_table_foreach(identity->private_data->eprs,
(GHFunc)add_childnode_from_hashtable, t);
+ }
/* Simpler version which has the drawback of not working. */
/* Kept here in case it can work and be a nicer solution */