summaryrefslogtreecommitdiffstats
path: root/lasso
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-28 23:04:03 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-28 23:04:03 +0000
commitbd6b00e254951972ae226b06c9fb2370d37f3ad2 (patch)
tree76a8a45ac340f1c0b04e4025bd370a44de3a03df /lasso
parentd89bb7c0b5abe01096c2f55454432f2864b73dbc (diff)
downloadlasso-bd6b00e254951972ae226b06c9fb2370d37f3ad2.tar.gz
lasso-bd6b00e254951972ae226b06c9fb2370d37f3ad2.tar.xz
lasso-bd6b00e254951972ae226b06c9fb2370d37f3ad2.zip
Inverted only 2 lines :-)
Diffstat (limited to 'lasso')
-rw-r--r--lasso/id-ff/user.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lasso/id-ff/user.c b/lasso/id-ff/user.c
index 2a0f6329..9f4a9357 100644
--- a/lasso/id-ff/user.c
+++ b/lasso/id-ff/user.c
@@ -275,8 +275,9 @@ lasso_user_get_assertion(LassoUser *user,
assertion = (LassoNode *)g_hash_table_lookup(user->assertions,
remote_providerID);
- if (assertion == NULL)
- return NULL;
+ if (assertion == NULL) {
+ return NULL;
+ }
return(lasso_node_copy(assertion));
}
@@ -306,8 +307,8 @@ lasso_user_get_authentication_method(LassoUser *user,
}
done:
- lasso_node_destroy(assertion);
lasso_node_destroy(as);
+ lasso_node_destroy(assertion);
return (authentication_method);
}