diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-09 06:31:23 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-09 06:31:23 +0800 |
commit | 65da8e2380a6bc4b21bdea6bc39fba8aa96442b2 (patch) | |
tree | d6d3cf1a0b723e1a84c15c681cfcd9cac7298feb /mbbsd | |
parent | f93913aaac8890abd3c3db07df33e89ce839cf90 (diff) | |
download | pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar.gz pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar.bz2 pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar.lz pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar.xz pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.tar.zst pttbbs-65da8e2380a6bc4b21bdea6bc39fba8aa96442b2.zip |
DEBUG to show current pid
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@155 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 59668377..f65a1e89 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.6 2002/05/06 17:26:20 in2 Exp $ */ +/* $Id: menu.c,v 1.7 2002/05/08 22:31:23 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <time.h> @@ -56,7 +56,7 @@ void showtitle(char *title, char *mid) { spc = strlen(mid); if(title[0] == 0) title++; -#ifdef DEBUG && !NO_SHOWPID +#ifdef DEBUG else{ sprintf(numreg, "\033[41;5m current pid: %6d " TITLE_COLOR, getpid()); |