]> granicus.if.org Git - apache/commitdiff
Initialise server generation (Chris Darroch)
authorNick Kew <niq@apache.org>
Sun, 7 May 2006 21:03:39 +0000 (21:03 +0000)
committerNick Kew <niq@apache.org>
Sun, 7 May 2006 21:03:39 +0000 (21:03 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@404850 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/experimental/event/event.c
server/mpm/worker/worker.c

index 7c302dfbaa6b6bdee72e35a9e8b714cb693c8faf..9eff7e31628a160a3f7fe87ff1a50070bcf2d9cf 100644 (file)
@@ -395,7 +395,7 @@ static int volatile shutdown_pending;
 static int volatile restart_pending;
 static int volatile is_graceful;
 static volatile int child_fatal;
-ap_generation_t volatile ap_my_generation;
+ap_generation_t volatile ap_my_generation = 0;
 
 /*
  * ap_start_shutdown() and ap_start_restart(), below, are a first stab at
index 347c11fa429e56df29055e45bdc318ddb9982577..4261515f3d615c25ab18ace5efd18930e7f08e55 100644 (file)
@@ -353,7 +353,7 @@ static int volatile shutdown_pending;
 static int volatile restart_pending;
 static int volatile is_graceful;
 static volatile int child_fatal;
-ap_generation_t volatile ap_my_generation;
+ap_generation_t volatile ap_my_generation = 0;
 
 /*
  * ap_start_shutdown() and ap_start_restart(), below, are a first stab at