summaryrefslogtreecommitdiffstats
path: root/modules/metadata/mod_setenvif.c
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-01-17 21:14:54 +0100
committerStefan Fritsch <sf@apache.org>2011-01-17 21:14:54 +0100
commitcafa2aaff51e010f16a66bd4a321dc9b1ab9422c (patch)
tree861cada8529f701c4d3cb79e7cc783f146b8d8c4 /modules/metadata/mod_setenvif.c
parent* modules/ssl/ssl_engine_config.c, modules/ssl/ssl_private.h: Add (diff)
downloadapache2-cafa2aaff51e010f16a66bd4a321dc9b1ab9422c.tar.xz
apache2-cafa2aaff51e010f16a66bd4a321dc9b1ab9422c.zip
Fix segfault for loglevel >= trace2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1060072 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/metadata/mod_setenvif.c')
-rw-r--r--modules/metadata/mod_setenvif.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/metadata/mod_setenvif.c b/modules/metadata/mod_setenvif.c
index 6ad3144a2c..48ffd3fb49 100644
--- a/modules/metadata/mod_setenvif.c
+++ b/modules/metadata/mod_setenvif.c
@@ -677,12 +677,8 @@ static int match_headers(request_rec *r)
elts[j].val);
}
}
- }
- if (APLOGrtrace2(r)) {
- ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r,
- "Setting envvar(s): %s",
- apr_array_pstrcat(r->pool, arr, ' '));
-
+ ap_log_rerror(APLOG_MARK, APLOG_TRACE2, 0, r, "Setting %s",
+ elts[j].key);
}
}
}