summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/name_identifier_mapping.c
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2006-12-27 23:50:15 +0000
committerFrederic Peters <fpeters@entrouvert.com>2006-12-27 23:50:15 +0000
commit08088875482304db5e3b80e68743799657fe6361 (patch)
tree77f15bf6bdb851bd26a2d55f3b9ea2a29aaa7f44 /lasso/id-ff/name_identifier_mapping.c
parentbe476b2af6dc89151e16a9ffc69d0fbe0075b6ea (diff)
downloadlasso-08088875482304db5e3b80e68743799657fe6361.tar.gz
lasso-08088875482304db5e3b80e68743799657fe6361.tar.xz
lasso-08088875482304db5e3b80e68743799657fe6361.zip
fixed all occurences of returning a negative number unspecified in errors.h
Diffstat (limited to 'lasso/id-ff/name_identifier_mapping.c')
-rw-r--r--lasso/id-ff/name_identifier_mapping.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lasso/id-ff/name_identifier_mapping.c b/lasso/id-ff/name_identifier_mapping.c
index c9da63a7..25563daa 100644
--- a/lasso/id-ff/name_identifier_mapping.c
+++ b/lasso/id-ff/name_identifier_mapping.c
@@ -57,7 +57,8 @@ lasso_name_identifier_mapping_build_request_msg(LassoNameIdentifierMapping *mapp
LassoProfile *profile;
LassoProvider *remote_provider;
- g_return_val_if_fail(LASSO_IS_NAME_IDENTIFIER_MAPPING(mapping), -1);
+ g_return_val_if_fail(LASSO_IS_NAME_IDENTIFIER_MAPPING(mapping),
+ LASSO_PARAM_ERROR_INVALID_VALUE);
profile = LASSO_PROFILE(mapping);
@@ -126,7 +127,8 @@ lasso_name_identifier_mapping_build_response_msg(LassoNameIdentifierMapping *map
LassoProfile *profile;
LassoProvider *remote_provider;
- g_return_val_if_fail(LASSO_IS_NAME_IDENTIFIER_MAPPING(mapping), -1);
+ g_return_val_if_fail(LASSO_IS_NAME_IDENTIFIER_MAPPING(mapping),
+ LASSO_PARAM_ERROR_INVALID_VALUE);
profile = LASSO_PROFILE(mapping);