Commit 69c4c267 authored by Nick Kew's avatar Nick Kew
Browse files

Scoreboard size (Chris Darroch)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@404848 13f79535-47bb-0310-9956-ffa450edef68
parent 3b3b917f
Loading
Loading
Loading
Loading
+1 −2
Changes for server/scoreboard.c: 1 added line, 2 removed lines.
Original line number Diff line number Diff line
@@ -117,8 +117,7 @@ void ap_init_scoreboard(void *shared_score)

    ap_calc_scoreboard_size();
    ap_scoreboard_image =
        calloc(1, sizeof(scoreboard) + server_limit * sizeof(worker_score *) +
               server_limit * lb_limit * sizeof(lb_score *));
        calloc(1, sizeof(scoreboard) + server_limit * sizeof(worker_score *));
    more_storage = shared_score;
    ap_scoreboard_image->global = (global_score *)more_storage;
    more_storage += sizeof(global_score);