summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-23 19:33:01 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-08-23 19:33:01 +0800
commitbc71e83b569d1297713d0cb77c2d5c2e6a59e587 (patch)
tree435054c4736dcbbc72691c0068eb70c23de69f14 /mbbsd/cal.c
parent671f4230e66648af769f0c210c61e6387c1ef2ca (diff)
downloadpttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.gz
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.bz2
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.lz
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.xz
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.zst
pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.zip
DYMAX_ACTIVE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index ee23879b..e4ecc8cf 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -1,4 +1,4 @@
-/* $Id: cal.c,v 1.19 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: cal.c,v 1.20 2002/08/23 11:33:01 in2 Exp $ */
#include "bbs.h"
/* 防堵 Multi play */
@@ -425,7 +425,12 @@ p_sysinfo(void)
"編譯時間: %s\n"
"起始時間: %s\n",
cpuloadstr, SHM->UTMPnumber,
- MAX_ACTIVE, COMPILE_TIME, ctime(&start_time));
+#ifdef DYMAX_ACTIVE
+ GLOBALVAR[9] > 1000 ? GLOBALVAR[9] : MAX_ACTIVE,
+#else
+ MAX_ACTIVE,
+#endif
+ COMPILE_TIME, ctime(&start_time));
pressanykey();
return 0;
}