summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-03 16:43:00 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-03 16:43:00 +0800
commita7bfcd9e4aff3dcec474ff42643c4bd70bc12334 (patch)
tree2b25f9e7543a275c9b448c1348f555934df157b9
parented3cd01e35334c4577380483a9cd6f443c282b49 (diff)
downloadpttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar.gz
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar.bz2
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar.lz
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar.xz
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.tar.zst
pttbbs-a7bfcd9e4aff3dcec474ff42643c4bd70bc12334.zip
fix compile error if not define NOKILLWATERBALL
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1451 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 467335c2..425406f1 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -359,9 +359,9 @@ write_request(int sig)
{
int i, msgcount;
+#ifdef NOKILLWATERBALL
if( reentrant_write_request ) /* kill again by shmctl */
return;
-#ifdef NOKILLWATERBALL
reentrant_write_request = 1;
#endif
if (WATERMODE(WATER_OFO)) {
@@ -394,7 +394,9 @@ write_request(int sig)
currutmp->chatid[0] = 2;
currstat = HIT;
+#ifdef NOKILLWATERBALL
currutmp->wbtime = 0;
+#endif
if( (msgcount = currutmp->msgcount) > 0 ){
for( i = 0 ; i < msgcount ; ++i ){
bell();