summaryrefslogtreecommitdiffstats
path: root/web/mod_ptt.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-31 14:41:03 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-31 14:41:03 +0800
commit161219ea6d96bb9bfe7d559f2c8bba49ebb9192a (patch)
treec875a597595e168e8d6ba7be70c452d846ecd295 /web/mod_ptt.c
parent29d2582b1e2d07e8294011266961d378e0455c4e (diff)
downloadpttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar.gz
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar.bz2
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar.lz
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar.xz
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.tar.zst
pttbbs-161219ea6d96bb9bfe7d559f2c8bba49ebb9192a.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@754 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'web/mod_ptt.c')
-rw-r--r--web/mod_ptt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/mod_ptt.c b/web/mod_ptt.c
index ee32ede4..ecb77117 100644
--- a/web/mod_ptt.c
+++ b/web/mod_ptt.c
@@ -1,4 +1,7 @@
#include "mod_ptt.h"
+extern SHM_t *SHM;
+extern int *GLOBALVAR;
+
extern int numboards;
extern boardheader_t *bcache;
typedef struct excfg {
@@ -74,7 +77,8 @@ static int ptt_handler(request_rec *r)
ap_rprintf(r, " Server built: \"%s\"<br>", ap_get_server_built());
ap_rprintf(r, " numboards: \"%d\"<br>", numboards);
-
+ ap_rprintf(r, " shm: \"%d\"<br>", SHM->loaded );
+ ap_rprintf(r, " max_user:%d<br>", SHM->max_user );
for(i = 0; i < 10; i++)
ap_rprintf(r,"%d. %s %s<br>",i,bcache[i].brdname,bcache[i].title);