diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-18 09:02:23 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-18 09:02:23 +0800 |
commit | 55e90901043584ace1d01b8315f6be046a277893 (patch) | |
tree | d36b6a4b6c2114c3f29f6487d1ec60e3d2e784b2 | |
parent | c2faa5348149a01c7d8e1d704b4d3eabe51cec84 (diff) | |
download | pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar.gz pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar.bz2 pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar.lz pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar.xz pttbbs-55e90901043584ace1d01b8315f6be046a277893.tar.zst pttbbs-55e90901043584ace1d01b8315f6be046a277893.zip |
DEBUGSLEEP
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@523 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mbbsd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 9309103e..b74a9a22 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.56 2002/09/07 11:21:36 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.57 2002/09/18 01:02:23 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -208,6 +208,7 @@ abort_bbs(int sig) static void abort_bbs_debug(int sig) { +#ifdef DEBUGSLEEP static int reentrant = 0; if (!reentrant) { @@ -221,6 +222,7 @@ abort_bbs_debug(int sig) setproctitle("debug me!(%d)(%s,%d)", sig, cuser.userid, currstat); sleep(3600); /* wait 60 mins for debug */ } +#endif exit(0); } |