summaryrefslogtreecommitdiff
path: root/modules/metadata/mod_env.c
diff options
context:
space:
mode:
Diffstat (limited to 'modules/metadata/mod_env.c')
-rw-r--r--modules/metadata/mod_env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/metadata/mod_env.c b/modules/metadata/mod_env.c
index ab8889af..5a98c801 100644
--- a/modules/metadata/mod_env.c
+++ b/modules/metadata/mod_env.c
@@ -152,7 +152,7 @@ static int fixup_env_module(request_rec *r)
env_dir_config_rec *sconf = ap_get_module_config(r->per_dir_config,
&env_module);
- if (!apr_table_elts(sconf->vars)->nelts) {
+ if (apr_is_empty_table(sconf->vars)) {
return DECLINED;
}