summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 12:34:59 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-02-09 12:34:59 +0800
commitb03dd90be1b159c20f4a159d610dfdeb19f41add (patch)
treed1adeb78ec61d05cc7e9d98b0c322f87a3f6dad7 /mbbsd/admin.c
parentc6d7379bb56495a44cbe1a2f5f773382559051ea (diff)
downloadpttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar.gz
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar.bz2
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar.lz
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar.xz
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.tar.zst
pttbbs-b03dd90be1b159c20f4a159d610dfdeb19f41add.zip
missing commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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);