diff options
author | bbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-07 11:35:07 +0800 |
---|---|---|
committer | bbs <bbs@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-07 11:35:07 +0800 |
commit | f400bfaa42cd66718b9035d658407690b591a338 (patch) | |
tree | 888ddd77107e50a1d420da696e4f4a665399a065 /mbbsd | |
parent | 5b1545cbda010c4092992d60e1a2ca2a1cff672f (diff) | |
download | pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.gz pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.bz2 pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.lz pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.xz pttbbs-f400bfaa42cd66718b9035d658407690b591a338.tar.zst pttbbs-f400bfaa42cd66718b9035d658407690b591a338.zip |
OUTTA_TIMER
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@823 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/io.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: io.c,v 1.28 2003/03/15 15:30:58 in2 Exp $ */ +/* $Id: io.c,v 1.29 2003/05/07 03:35:07 bbs Exp $ */ #include "bbs.h" #if defined(linux) @@ -139,7 +139,11 @@ dogetch() icurrchar = 0; } if (currutmp) { +#ifdef OUTTA_TIMER + now = SHM->GV2.e.now; +#else now = time(0); +#endif if (now - lastact < 3) currutmp->lastact = now; lastact = now; |