diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-09 12:17:36 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-09 12:17:36 +0800 |
commit | b4a81747bcadf58b4d45ab1251f3d47a8c036f43 (patch) | |
tree | 4e4612e43497eaf0ee6a806a13c90c1d420df485 /mbbsd | |
parent | 2e7529cbb32a8bd25c81dbb27c287905695c8b32 (diff) | |
download | pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar.gz pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar.bz2 pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar.lz pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar.xz pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.tar.zst pttbbs-b4a81747bcadf58b4d45ab1251f3d47a8c036f43.zip |
wrong path
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1514 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/admin.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 03199d5f..81f9f3ff 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1084,7 +1084,7 @@ give_id_money(char *user_id, int money, FILE * log_fp, char *mail_title, time_t } else { fprintf(log_fp, "%d %s %d", (int)t, user_id, money); snprintf(tt, sizeof(tt), "%s : %d ptt 幣", mail_title, money); - mail_id(user_id, tt, "~bbs/etc/givemoney.why", "[PTT 銀行]"); + mail_id(user_id, tt, "etc/givemoney.why", "[PTT 銀行]"); } } @@ -1122,8 +1122,7 @@ give_money() if (!(fp2 = fopen("etc/givemoney.log", "a"))) return 1; - strftime(buf, sizeof(buf), "%Y/%m/%d/%H:%M", pt); - fprintf(fp2, "%s\n", buf); + strftime(fp2, sizeof(fp2), "%Y/%m/%d/%H:%M%n", pt); getdata(1, 0, "紅包袋標題 :", tt, TTLEN, DOECHO); move(2, 0); |