summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 43c0d2f5..bfc06eb0 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -390,7 +390,7 @@ p_give()
return 0; /* 繳完稅就沒錢給了 */
deumoney(searchuser(id), money - tax);
demoney(-money);
- snprintf(genbuf, sizeof(genbuf), "%s\t給%s\t%d\t%s\n",
+ snprintf(genbuf, sizeof(genbuf), "%s\t給%s\t%d\t%s",
cuser->userid, id, money - tax, ctime(&now));
log_file(FN_MONEY, genbuf, 1);
genbuf[0] = 'n';