summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-14 23:08:48 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-14 23:08:48 +0800
commit1ef6abcf621d5476a76aaef98b5f9282104fd9f2 (patch)
tree20c7703724aab19d46d6c0258b96300da4cb328d /mbbsd/mbbsd.c
parentadb168b6c309a29331d0f9e8c5156d3c73b24392 (diff)
downloadpttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar.gz
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar.bz2
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar.lz
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar.xz
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.tar.zst
pttbbs-1ef6abcf621d5476a76aaef98b5f9282104fd9f2.zip
idle timeout improvement
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@168 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 07f1b955..8ea6f8d1 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.26 2002/05/13 10:00:17 ptt Exp $ */
+/* $Id: mbbsd.c,v 1.27 2002/05/14 15:08:48 ptt Exp $ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -38,7 +38,6 @@
extern int t_lines, t_columns; /* Screen size / width */
extern int b_lines; /* Screen bottom line number: t_lines-1 */
extern userinfo_t *currutmp;
-extern int curr_idle_timeout;
extern time_t now;
static void do_aloha (char *hello);
@@ -149,10 +148,6 @@ chkload (char *buf)
#endif
if (i > MAX_CPULOAD)
return 1;
- else if (i > MAX_CPULOAD / 2)
- curr_idle_timeout = 10 * 60;
- else
- curr_idle_timeout = 30 * 60;
return 0;
}