Commit 9862774e authored by Jim Jagielski's avatar Jim Jagielski
Browse files

Ummm why bother setting vars if we are bailing?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@710218 13f79535-47bb-0310-9956-ffa450edef68
parent 6848b1e4
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -1405,19 +1405,19 @@ static const char * add_pass_reverse(cmd_parms *cmd, void *dconf, const char *f,
    const char *interp;

    if (cmd->path == NULL) {
        fake = f;
        real = r;
        interp = i;
        if (r == NULL || !strcasecmp(r, "interpolate")) {
            return "ProxyPassReverse needs a path when not defined in a location";
        }
        fake = f;
        real = r;
        interp = i;
    }
    else {
        fake = cmd->path;
        real = f;
        if (r && strcasecmp(r, "interpolate")) {
            return "ProxyPassReverse can not have a path when defined in a location";
        }
        fake = cmd->path;
        real = f;
        interp = r;
    }