summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-27 19:47:06 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-27 19:47:06 +0800
commit0c030c68c8459402fa279fa60f247eb7cb0aef75 (patch)
treeb49e31cc44a8aac5bcd704bf3bc79fd6581c60a9 /mbbsd
parent2d1e63cf05d4daac544e217e6c33c133e4a58022 (diff)
downloadpttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar.gz
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar.bz2
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar.lz
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar.xz
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.tar.zst
pttbbs-0c030c68c8459402fa279fa60f247eb7cb0aef75.zip
show `currstat' when debug me
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index ec0370c6..91800b4c 100644
--- a/mbbsd/mbbsd.c
+++ b/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);