From: Christophe Jaillet Date: Thu, 13 Jun 2019 19:49:10 +0000 (+0000) Subject: Be a little more verbose when an error in trigerred in 'ap_set_file_slot()' X-Git-Tag: 2.5.0-alpha2-ci-test-only~2042 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6966b7101b3bdf3f68835a901e031cec26f81ce9;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/server/config.c b/server/config.c index 13bc0922691..f9883687187 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;