rse 98/03/16 08:44:28
Modified: src/modules/standard mod_status.c Log: Make sure the nested if is parsed correctly ("else"!) and make gcc -Wall happy again. Revision Changes Path 1.81 +2 -2 apache-1.3/src/modules/standard/mod_status.c Index: mod_status.c =================================================================== RCS file: /export/home/cvs/apache-1.3/src/modules/standard/mod_status.c,v retrieving revision 1.80 retrieving revision 1.81 diff -u -r1.80 -r1.81 --- mod_status.c 1998/03/16 08:40:56 1.80 +++ mod_status.c 1998/03/16 16:44:27 1.81 @@ -425,7 +425,7 @@ } #if defined(STATUS) - if (!short_report) + if (!short_report) { if (no_table_report) rputs("<p><hr><h2>Server Details</h2>\n\n", r); else @@ -435,7 +435,7 @@ #else rputs("<p>\n\n<table border=0><tr><th>Srv<th>PID<th>Acc<th>M<th>CPU\n<th>SS<th>Req<th>Conn<th>Child<th>Slot<th>Host<th>VHost<th>Request</tr>\n\n", r); #endif - + } for (i = 0; i < HARD_SERVER_LIMIT; ++i) { score_record = scoreboard_image->servers[i];