summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/gamble.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c
index a73460f9..065b05b4 100644
--- a/mbbsd/gamble.c
+++ b/mbbsd/gamble.c
@@ -1,4 +1,4 @@
-/* $Id: gamble.c,v 1.11 2002/06/07 18:54:52 ptt Exp $ */
+/* $Id: gamble.c,v 1.12 2002/06/07 19:03:25 ptt Exp $ */
#include "bbs.h"
#ifndef _BBS_UTIL_C_
@@ -347,9 +347,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);