summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-30 21:56:58 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-30 21:56:58 +0000
commitb048319053dfa3dc4bc12f3a8c67b35f8bf9a391 (patch)
tree5d7dc365712bd231ead039975e8886cddfff3692
parentd4c4d75b0d61807700da7b0d8c9a9b8fd7979917 (diff)
downloadlasso-b048319053dfa3dc4bc12f3a8c67b35f8bf9a391.tar.gz
lasso-b048319053dfa3dc4bc12f3a8c67b35f8bf9a391.tar.xz
lasso-b048319053dfa3dc4bc12f3a8c67b35f8bf9a391.zip
Fixed 2 errors in lasso_identity_copy() et lasso_session_copy() methods
-rw-r--r--lasso/id-ff/identity.c2
-rw-r--r--lasso/id-ff/session.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c
index 0d1a0d90..e8ce48b0 100644
--- a/lasso/id-ff/identity.c
+++ b/lasso/id-ff/identity.c
@@ -129,7 +129,7 @@ lasso_identity_copy(LassoIdentity *identity)
copy->federations = g_hash_table_new_full(g_str_hash, g_str_equal,
(GDestroyNotify)g_free,
(GDestroyNotify)lasso_node_destroy);
- g_hash_table_foreach(copy->federations, (GHFunc)lasso_identity_copy_federation,
+ g_hash_table_foreach(identity->federations, (GHFunc)lasso_identity_copy_federation,
(gpointer)copy->federations);
copy->is_dirty = identity->is_dirty;
diff --git a/lasso/id-ff/session.c b/lasso/id-ff/session.c
index 6241a48b..0c8b2dae 100644
--- a/lasso/id-ff/session.c
+++ b/lasso/id-ff/session.c
@@ -136,7 +136,7 @@ lasso_session_copy(LassoSession *session)
copy->assertions = g_hash_table_new_full(g_str_hash, g_str_equal,
(GDestroyNotify)g_free,
(GDestroyNotify)lasso_node_destroy);
- g_hash_table_foreach(copy->assertions, (GHFunc)lasso_session_copy_assertion,
+ g_hash_table_foreach(session->assertions, (GHFunc)lasso_session_copy_assertion,
(gpointer)copy->assertions);
copy->is_dirty = session->is_dirty;