manoj 99/04/26 15:31:10
Modified: pthreads/src/modules/standard mod_status.c
Log:
Fix the display when ExtendedStatus is off to show thread and process IDs.
Revision Changes Path
1.9 +2 -2 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.8
retrieving revision 1.9
diff -u -u -r1.8 -r1.9
--- mod_status.c 1999/04/01 06:24:48 1.8
+++ mod_status.c 1999/04/26 22:31:04 1.9
@@ -470,8 +470,8 @@
for (i = 0; i < HARD_SERVER_LIMIT; ++i) {
for (j = 0; j < HARD_SERVER_LIMIT; ++j) {
if (stat_buffer[i][j] != '.') {
- ap_rprintf(r, " %d in state: %c ", pid_buffer[i],
- stat_buffer[i][j]);
+ ap_rprintf(r, " %d,%d in state: %c ", pid_buffer[i],
+ tid_buffer[i][j], stat_buffer[i][j]);
if (++k >= 3) {
ap_rputs("\n", r);
k = 0;