]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Be a little more verbose when an error in trigerred in 'ap_set_file_slot()'
authorChristophe Jaillet <jailletc36@apache.org>
Thu, 13 Jun 2019 19:49:10 +0000 (19:49 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Thu, 13 Jun 2019 19:49:10 +0000 (19:49 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1861294 13f79535-47bb-0310-9956-ffa450edef68

server/config.c

index 13bc0922691e9d43b7112f1a7e77607a461e2b67..f9883687187ada0a8ef06b365eb41db4795c8897 100644 (file)
@@ -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;