]> granicus.if.org Git - apache/commit
Fix a problem displaying status when a threaded MPM is used.
authorJeff Trawick <trawick@apache.org>
Wed, 28 Feb 2001 18:41:44 +0000 (18:41 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 28 Feb 2001 18:41:44 +0000 (18:41 +0000)
commit7f17e1292a10c8e571818e2f2dbbe76261e1a72d
treee5b39eb4b53b15e8d1c5d21ebdc7eb461cfea92b
parent52f43d1a7fd093ae2a2426bcfa534211f2514ed8
Fix a problem displaying status when a threaded MPM is used.

The line

   int indx = (i * HARD_THREAD_LIMIT) + j;

in the vicinity of the change was bad; k needed to be added
instead of j.

I swapped the use of j and k in this section so that i and j
had the same meaning as in an earlier nested loop.  I suspect
that the difference in meaning is what led to the bug.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88397 13f79535-47bb-0310-9956-ffa450edef68
modules/generators/mod_status.c