From 6ce1f2f04412ce4e865734f504d15404b2820abd Mon Sep 17 00:00:00 2001 From: Damien Laniel Date: Fri, 24 Nov 2006 09:11:11 +0000 Subject: return -1 was not cute --- lasso/saml-2.0/profile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit