summaryrefslogtreecommitdiffstats
path: root/server/config.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2019-06-13 21:49:10 +0200
committerChristophe Jaillet <jailletc36@apache.org>2019-06-13 21:49:10 +0200
commit6966b7101b3bdf3f68835a901e031cec26f81ce9 (patch)
tree4b49813daf64f66ae8b7d2540344303535d946e6 /server/config.c
parent* modules/ssl/ssl_engine_config.c (ssl_cmd_check_file): (diff)
downloadapache2-6966b7101b3bdf3f68835a901e031cec26f81ce9.tar.xz
apache2-6966b7101b3bdf3f68835a901e031cec26f81ce9.zip
Be a little more verbose when an error in trigerred in 'ap_set_file_slot()'
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861294 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/config.c b/server/config.c
index 13bc092269..f988368718 100644
--- a/server/config.c
+++ b/server/config.c
@@ -1544,8 +1544,8 @@ AP_DECLARE_NONSTD(const char *) ap_set_file_slot(cmd_parms *cmd, void *struct_pt
path = ap_server_root_relative(cmd->pool, arg);
if (!path) {
- return apr_pstrcat(cmd->pool, "Invalid file path ",
- arg, NULL);
+ return apr_pstrcat(cmd->pool, cmd->cmd->name, ": Invalid file path '",
+ arg, "'", NULL);
}
*(const char **) ((char*)struct_ptr + offset) = path;