]> granicus.if.org Git - apache/commitdiff
core: follow up to r1668532: always initialize optional_fn pointers in ap_create_scor...
authorYann Ylavic <ylavic@apache.org>
Mon, 23 Mar 2015 08:52:47 +0000 (08:52 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 23 Mar 2015 08:52:47 +0000 (08:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1668553 13f79535-47bb-0310-9956-ffa450edef68

server/scoreboard.c

index c7501d9fda1ad6c67975c266c1c21b426716cd5e..32a0a7bba838745937c3a1f44ee3d7bee961758a 100644 (file)
@@ -310,6 +310,7 @@ int ap_create_scoreboard(apr_pool_t *p, ap_scoreboard_e sb_type)
             memset(ap_scoreboard_image->servers[i], 0,
                    sizeof(worker_score) * thread_limit);
         }
+        ap_init_scoreboard(NULL);
         return OK;
     }