summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 81f9f3ff..b476d787 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1122,7 +1122,9 @@ give_money()
if (!(fp2 = fopen("etc/givemoney.log", "a")))
return 1;
- strftime(fp2, sizeof(fp2), "%Y/%m/%d/%H:%M%n", pt);
+ strftime(buf, sizeof(buf), "%Y/%m/%d/%H:%M", pt);
+ fprintf(fp2, "%s\n", buf);
+
getdata(1, 0, "¬õ¥]³U¼ÐÃD ¡G", tt, TTLEN, DOECHO);
move(2, 0);