summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-14 23:20:42 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-14 23:20:42 +0800
commit803a415be1d5b7bb52462ceb76da4bb2f72b8585 (patch)
tree0d66fc399c84fafc97ae54fd1860c4f378992486 /mbbsd
parent1ef6abcf621d5476a76aaef98b5f9282104fd9f2 (diff)
downloadpttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar.gz
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar.bz2
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar.lz
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar.xz
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.tar.zst
pttbbs-803a415be1d5b7bb52462ceb76da4bb2f72b8585.zip
fix idle timeout
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@169 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/io.c b/mbbsd/io.c
index a52b7835..37dc2be1 100644
--- a/mbbsd/io.c
+++ b/mbbsd/io.c
@@ -1,4 +1,4 @@
-/* $Id: io.c,v 1.13 2002/05/14 15:08:47 ptt Exp $ */
+/* $Id: io.c,v 1.14 2002/05/14 15:20:42 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -177,7 +177,7 @@ static int dogetch() {
now= time(0);
if(now-currutmp->lastact<3)
anti_robot=now;
- else if(!anti_robot || now-anti_robot < IDLE_TIMEOUT)
+ else if(!anti_robot || now-anti_robot < 5*60)
{
currutmp->lastact = now;
}