summaryrefslogtreecommitdiff
path: root/server/config.c
diff options
context:
space:
mode:
authorChristophe Jaillet <jailletc36@apache.org>2019-06-13 19:49:10 +0000
committerChristophe Jaillet <jailletc36@apache.org>2019-06-13 19:49:10 +0000
commit6966b7101b3bdf3f68835a901e031cec26f81ce9 (patch)
tree4b49813daf64f66ae8b7d2540344303535d946e6 /server/config.c
parent62126124e1dfe146b0902608f0e6b80bb4d8ced8 (diff)
downloadhttpd-6966b7101b3bdf3f68835a901e031cec26f81ce9.tar.gz
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 'server/config.c')
-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;