summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Laniel <dlaniel@entrouvert.com>2006-11-24 09:11:11 +0000
committerDamien Laniel <dlaniel@entrouvert.com>2006-11-24 09:11:11 +0000
commit6ce1f2f04412ce4e865734f504d15404b2820abd (patch)
tree18fbfc863337158d666b05fb3bd4089e8eb6b0b4
parent0a391478bec7bb5afcb3f8a708d1abda9605e3f1 (diff)
downloadlasso-6ce1f2f04412ce4e865734f504d15404b2820abd.tar.gz
lasso-6ce1f2f04412ce4e865734f504d15404b2820abd.tar.xz
lasso-6ce1f2f04412ce4e865734f504d15404b2820abd.zip
return -1 was not cute
-rw-r--r--lasso/saml-2.0/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c
index 29a4ba85..3644053a 100644
--- a/lasso/saml-2.0/profile.c
+++ b/lasso/saml-2.0/profile.c
@@ -323,7 +323,7 @@ lasso_saml20_profile_set_session_from_dump(LassoProfile *profile)
}
if (assertions == NULL)
- return -1;
+ return LASSO_ERROR_UNDEFINED;
for (i = 0; i < assertions->len; ++i) {
assertion = g_ptr_array_index(assertions, i);