You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ja...@apache.org on 2019/06/13 19:49:10 UTC

svn commit: r1861294 - /httpd/httpd/trunk/server/config.c

Author: jailletc36
Date: Thu Jun 13 19:49:10 2019
New Revision: 1861294

URL: http://svn.apache.org/viewvc?rev=1861294&view=rev
Log:
Be a little more verbose when an error in trigerred in 'ap_set_file_slot()'

Modified:
    httpd/httpd/trunk/server/config.c

Modified: httpd/httpd/trunk/server/config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/config.c?rev=1861294&r1=1861293&r2=1861294&view=diff
==============================================================================
--- httpd/httpd/trunk/server/config.c (original)
+++ httpd/httpd/trunk/server/config.c Thu Jun 13 19:49:10 2019
@@ -1544,8 +1544,8 @@ AP_DECLARE_NONSTD(const char *) ap_set_f
     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;