rbb 99/03/23 14:03:23
Modified: pthreads/src/modules/standard mod_status.c Log: Just a cosmetic change. Now, we print the scoreboard info across multiple lines instead of all on one line. Revision Changes Path 1.7 +2 -1 apache-apr/pthreads/src/modules/standard/mod_status.c Index: mod_status.c =================================================================== RCS file: /home/cvs/apache-apr/pthreads/src/modules/standard/mod_status.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- mod_status.c 1999/02/16 07:41:09 1.6 +++ mod_status.c 1999/03/23 22:03:20 1.7 @@ -439,7 +439,8 @@ for (i = 0; i < HARD_SERVER_LIMIT; ++i) { for (j = 0; j < HARD_THREAD_LIMIT; ++j) { ap_rputc(stat_buffer[i][j], r); - if ((i % STATUS_MAXLINE == (STATUS_MAXLINE - 1)) && !short_report) + if ((((i * HARD_THREAD_LIMIT) + j) % STATUS_MAXLINE == + (STATUS_MAXLINE - 1)) && !short_report) ap_rputs("\n", r); } }