diff options
-rw-r--r-- | mbbsd/gamble.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/gamble.c b/mbbsd/gamble.c index d0e651e0..0566861a 100644 --- a/mbbsd/gamble.c +++ b/mbbsd/gamble.c @@ -106,7 +106,7 @@ append_ticket_record(char *direct, int ch, int n, int count) } snprintf(genbuf, sizeof(genbuf), "%s/" FN_TICKET_RECORD, direct); - if ((fp = fopen(genbuf, "w+"))) { + if ((fp = fopen(genbuf, "r+"))) { flock(fileno(fp), LOCK_EX); |