From f7cffdd936750c3a73b2001da034f3f78bfceca8 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 7 Jun 2002 19:03:25 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@311 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/gamble.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mbbsd') 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); -- cgit v1.2.3