From b03dd90be1b159c20f4a159d610dfdeb19f41add Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 9 Feb 2004 04:34:59 +0000 Subject: missing commit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/admin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- cgit v1.2.3