Commit 1286ca98 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

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
parent 5d2e3ca5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;