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

get rid of a duplicate assignment of ap_server_conf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89419 13f79535-47bb-0310-9956-ffa450edef68
parent 851d6728
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1067,6 +1067,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)

    pconf = _pconf;
    ap_server_conf = s;

    rv = apr_file_pipe_create(&pipe_of_death_in, &pipe_of_death_out, pconf);
    if (rv != APR_SUCCESS) {
        ap_log_error(APLOG_MARK, APLOG_ERR, rv,
@@ -1081,7 +1082,7 @@ int ap_mpm_run(apr_pool_t *_pconf, apr_pool_t *plog, server_rec *s)
                     "apr_file_pipe_timeout_set (pipe_of_death)");
        exit(1);
    }
    ap_server_conf = s;

    if ((num_listensocks = ap_setup_listeners(ap_server_conf)) < 1) {
        /* XXX: hey, what's the right way for the mpm to indicate a fatal error? */
        ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_ALERT, 0, s,