Avoid using APR_ARRAY_IDX.

APR_ARRAY_IDX is a relatively new macro in the APR package, so we
should avoid using it.

git-svn-id: https://modmellon.googlecode.com/svn/trunk/mod_mellon2@134 a716ebb1-153a-0410-b759-cfb97c6a1b53
This commit is contained in:
olavmrk 2011-05-18 12:45:23 +00:00
parent afd97cbed8
commit bd75567ca2
1 changed files with 1 additions and 1 deletions

View File

@ -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,