Commit e98a5456 authored by Jeff Trawick's avatar Jeff Trawick
Browse files

no need to calculate the config file name in display_info() since we

don't have to read it

PR:		6980


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88431 13f79535-47bb-0310-9956-ffa450edef68
parent b0c397ed
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -269,7 +269,6 @@ static int display_info(request_rec *r)
{
    module *modp = NULL;
    char buf[MAX_STRING_LEN];
    const char *cfname;
    const char *more_info;
    const command_rec *cmd = NULL;
#ifdef NEVERMORE
@@ -294,7 +293,6 @@ static int display_info(request_rec *r)
	     "<html><head><title>Server Information</title></head>\n", r);
    ap_rputs("<body><h1 align=center>Apache Server Information</h1>\n", r);
    if (!r->args || strcasecmp(r->args, "list")) {
        cfname = ap_server_root_relative(r->pool, SERVER_CONFIG_FILE);
        if (!r->args) {
            ap_rputs("<tt><a href=\"#server\">Server Settings</a>, ", r);
            for (modp = top_module; modp; modp = modp->next) {