]> granicus.if.org Git - apache/commitdiff
Fix bug that could potentially prevent perchild from working with
authorAaron Bannert <aaron@apache.org>
Fri, 7 Dec 2001 18:19:16 +0000 (18:19 +0000)
committerAaron Bannert <aaron@apache.org>
Fri, 7 Dec 2001 18:19:16 +0000 (18:19 +0000)
more than one vhost/uid.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92374 13f79535-47bb-0310-9956-ffa450edef68

CHANGES
server/mpm/experimental/perchild/perchild.c
server/mpm/perchild/perchild.c

diff --git a/CHANGES b/CHANGES
index 9694d39e575f82c2955a40595583f7fbc594481b..60607694219f3592b4ffe9e774b1999f34f91ccf 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,8 @@
 Changes with Apache 2.0.30-dev
 
+  *) Fix bug that could potentially prevent the perchild MPM from
+     working with more than one vhost/uid.  [Aaron Bannert]
+
   *) Change make install processing of DSO modules to perform special
      handling on platforms where libtool doesn't install mod_foo.so.
      This fixes some wonkiness on HP-UX, Tru64, and AIX which
index 32bc7bac79d92909626081362441e5c7aeeba1a0..fb83a84a1fae0def35e2ad8c20e5b14fff226962 100644 (file)
@@ -1740,7 +1740,7 @@ static const char *set_child_per_uid(cmd_parms *cmd, void *dummy, const char *u,
 {
     int i;
     int max_this_time = atoi(num) + curr_child_num;
-    for (i = curr_child_num; i < max_this_time; i++, curr_child_num++); {
+    for (i = curr_child_num; i < max_this_time; i++, curr_child_num++) {
         child_info_t *ug = &child_info_table[i - 1];
 
         if (i > num_daemons) {
index 32bc7bac79d92909626081362441e5c7aeeba1a0..fb83a84a1fae0def35e2ad8c20e5b14fff226962 100644 (file)
@@ -1740,7 +1740,7 @@ static const char *set_child_per_uid(cmd_parms *cmd, void *dummy, const char *u,
 {
     int i;
     int max_this_time = atoi(num) + curr_child_num;
-    for (i = curr_child_num; i < max_this_time; i++, curr_child_num++); {
+    for (i = curr_child_num; i < max_this_time; i++, curr_child_num++) {
         child_info_t *ug = &child_info_table[i - 1];
 
         if (i > num_daemons) {