diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-27 19:47:06 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-07-27 19:47:06 +0800 |
commit | a6a2335c3c3add32f384eb58112538f03ecb10e4 (patch) | |
tree | c695c6c9da3a9ba3a4d1d2ce6799de6113f571c9 | |
parent | 5563665c60817e90df1b95dd710821b17dcdc8d3 (diff) | |
download | pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar.gz pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar.bz2 pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar.lz pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar.xz pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.tar.zst pttbbs-a6a2335c3c3add32f384eb58112538f03ecb10e4.zip |
show `currstat' when debug me
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/mbbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c index ec0370c6..91800b4c 100644 --- a/pttbbs/mbbsd/mbbsd.c +++ b/pttbbs/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.45 2002/07/25 12:31:15 kcwu Exp $ */ +/* $Id: mbbsd.c,v 1.46 2002/07/27 11:47:06 kcwu Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -222,7 +222,7 @@ abort_bbs_debug(int sig) reentrant = 1; if (currmode) u_exit("AXXED"); - setproctitle("debug me!(%d)(%s)", sig, cuser.userid); + setproctitle("debug me!(%d)(%s,%d)", sig, cuser.userid, currstat); sleep(3600); /* wait 60 mins for debug */ } exit(0); |