summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/identity.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-12-28 10:19:46 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-12-28 10:19:46 +0000
commit17df2984aa9968ec3e9a55677dd3fcdb4d814a4e (patch)
tree0b2080097faffb05f91f293ca6c982edcf85d49c /lasso/id-ff/identity.c
parent3c7f8cca010693556710f923d69fa3e350e42e6e (diff)
downloadlasso-17df2984aa9968ec3e9a55677dd3fcdb4d814a4e.tar.gz
lasso-17df2984aa9968ec3e9a55677dd3fcdb4d814a4e.tar.xz
lasso-17df2984aa9968ec3e9a55677dd3fcdb4d814a4e.zip
replaced LASSO_ERROR_UNDEFINED by appropriate error codes in all of xml/ and
id-ff/
Diffstat (limited to 'lasso/id-ff/identity.c')
-rw-r--r--lasso/id-ff/identity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/id-ff/identity.c b/lasso/id-ff/identity.c
index 89531c07..8419ab5e 100644
--- a/lasso/id-ff/identity.c
+++ b/lasso/id-ff/identity.c
@@ -91,7 +91,7 @@ gint
lasso_identity_remove_federation(LassoIdentity *identity, const char *providerID)
{
if (g_hash_table_remove(identity->federations, providerID) == FALSE) {
- return LASSO_ERROR_UNDEFINED;
+ return LASSO_PROFILE_ERROR_FEDERATION_NOT_FOUND;
}
identity->is_dirty = TRUE;
return 0;