summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 10:05:46 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-23 10:05:46 +0800
commit581548b37359a41cb4ef0c02b5b852f3aea02426 (patch)
tree2c8fd9242526d410f26cd781781f882eaa803c0e
parent24798ab25633d7b0a43964ca78e1e5281a3005e9 (diff)
downloadpttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar.gz
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar.bz2
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar.lz
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar.xz
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.tar.zst
pttbbs-581548b37359a41cb4ef0c02b5b852f3aea02426.zip
gamble lock
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@339 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/gamble.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pttbbs/mbbsd/gamble.c b/pttbbs/mbbsd/gamble.c
index d37b5fa5..88e82b67 100644
--- a/pttbbs/mbbsd/gamble.c
+++ b/pttbbs/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.18 2002/06/22 18:01:23 ptt Exp $ */
+/* $Id: gamble.c,v 1.19 2002/06/23 02:05:46 ptt Exp $ */
#include "bbs.h"
#ifndef _BBS_UTIL_C_
@@ -351,10 +351,10 @@ int openticket(int bid) {
deumoney(uid, money * i);
mail_id(userid, buf, "etc/ticket.win", "Ptt½ä³õ");
}
+ fclose(fp1);
}
fclose(fp);
- fclose(fp1);
if(bet!=98)
sprintf(buf, "[¤½§i] %s ½ä½L¶}¼ú", bh->brdname);