summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-25 20:31:15 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-07-25 20:31:15 +0800
commit327b2c3244960ca7f3050185d37641a24227d150 (patch)
treecc2f04065cef209589afa71ec3ea2d6e8b74782f
parent0b34065271f8f08ae68347fd00c7072d0f1b909d (diff)
downloadpttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar.gz
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar.bz2
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar.lz
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar.xz
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.tar.zst
pttbbs-327b2c3244960ca7f3050185d37641a24227d150.zip
indicate which user crash mbbsd
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@439 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c
index 9a3eeb8a..ec0370c6 100644
--- a/pttbbs/mbbsd/mbbsd.c
+++ b/pttbbs/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.44 2002/07/22 19:02:00 in2 Exp $ */
+/* $Id: mbbsd.c,v 1.45 2002/07/25 12:31:15 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)", sig);
+ setproctitle("debug me!(%d)(%s)", sig, cuser.userid);
sleep(3600); /* wait 60 mins for debug */
}
exit(0);