mirror of
https://github.com/apache/httpd.git
synced 2025-08-20 16:09:55 +00:00
Make this build again...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85532 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -65,10 +65,11 @@
|
||||
#include "beosd.h"
|
||||
#include "http_conf_globals.h"
|
||||
#include "mpmt_beos.h"
|
||||
#include "scoreboard.h"
|
||||
#include "mpm.h" /* includes scoreboard.h */
|
||||
|
||||
scoreboard *ap_scoreboard_image = NULL;
|
||||
extern ap_pool_t * pconf;
|
||||
extern int ap_max_daemons_limit;
|
||||
static int maintain_connection_status = 1;
|
||||
|
||||
void reinit_scoreboard(ap_pool_t *p)
|
||||
@ -168,7 +169,7 @@ ap_array_header_t *ap_get_connections(ap_pool_t *p)
|
||||
long *array_slot;
|
||||
|
||||
connection_list = ap_make_array(p, 0, sizeof(long));
|
||||
for (i = 0; i < ap_max_daemons_limit*HARD_THREAD_LIMIT; i++) {
|
||||
for (i = 0; i < ap_max_daemons_limit * HARD_THREAD_LIMIT; i++) {
|
||||
if (ap_scoreboard_image->table[i][0].key[0] != '\0') {
|
||||
array_slot = ap_push_array(connection_list);
|
||||
*array_slot = i;
|
||||
@ -206,7 +207,7 @@ ap_array_header_t *ap_get_status_table(ap_pool_t *p)
|
||||
|
||||
server_status = ap_make_array(p, 0, sizeof(ap_status_table_row_t));
|
||||
|
||||
for (i = 0; i < ap_max_daemons_limit*HARD_THREAD_LIMIT; i++) {
|
||||
for (i = 0; i < ap_max_daemons_limit * HARD_THREAD_LIMIT; i++) {
|
||||
if (ap_scoreboard_image->table[i][0].key[0] == '\0')
|
||||
continue;
|
||||
array_slot = ap_push_array(server_status);
|
||||
|
Reference in New Issue
Block a user