summaryrefslogtreecommitdiffstats
path: root/auth_mellon_handler.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth_mellon_handler.c')
-rw-r--r--auth_mellon_handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth_mellon_handler.c b/auth_mellon_handler.c
index 4f79d3a..985b123 100644
--- a/auth_mellon_handler.c
+++ b/auth_mellon_handler.c
@@ -229,7 +229,7 @@ static guint am_server_add_providers(am_dir_cfg_rec *cfg, request_rec *r)
GList *loaded_idp = NULL;
#endif /* HAVE_lasso_server_load_metadata */
- idp_metadata = &APR_ARRAY_IDX(cfg->idp_metadata, index, const am_metadata_t);
+ idp_metadata = &( ((const am_metadata_t*)cfg->idp_metadata->elts) [index] );
#ifdef HAVE_lasso_server_load_metadata
error = lasso_server_load_metadata(cfg->server,