summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lasso/id-ff/profile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index f7b43b2e..bab56e1c 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -133,9 +133,10 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap)
} else if (strcmp(name, "AuthnRequest") == 0) {
type = LASSO_REQUEST_TYPE_LECP;
} else if (strcmp(name, "Query") == 0) {
- if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0 ||
- strcmp((char*)ns->href, LASSO_IDWSF2_DISCO_HREF) == 0) {
+ if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) {
type = LASSO_REQUEST_TYPE_DISCO_QUERY;
+ } else if (strcmp((char*)ns->href, LASSO_IDWSF2_DISCO_HREF) == 0) {
+ type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_QUERY;
} else {
type = LASSO_REQUEST_TYPE_DST_QUERY;
}