diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-22 23:46:33 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-22 23:46:33 +0800 |
commit | 0380885e086cf21f11636d3b0c93abe12414968f (patch) | |
tree | 5009727d5784b98ae03303a66d96fbb66bfc4e08 | |
parent | a0788ed70447a75a42ed2cca63a49f40be72149d (diff) | |
download | pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar.gz pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar.bz2 pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar.lz pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar.xz pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.tar.zst pttbbs-0380885e086cf21f11636d3b0c93abe12414968f.zip |
show pid at Welcome screen when DEBUG
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@188 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mbbsd.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 078245f4..11d90989 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.28 2002/05/18 13:23:39 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.29 2002/05/22 15:46:33 in2 Exp $ */ #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -602,6 +602,10 @@ login_query () pressanykey (); exit (1); } +#ifdef DEBUG + move(19, 0); + prints("current pid: %d ", getpid()); +#endif getdata (20, 0, "請輸入代號,或以[guest]參觀,以[new]註冊:", uid, sizeof(uid), DOECHO); if (strcasecmp (uid, str_new) == 0){ |