summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-22 16:58:32 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-22 16:58:32 +0800
commit6663e2e5e7484c54c2b52859b7d4c0bc12510d57 (patch)
treea3b8a78ff51d1dbefab79a26aedaef50a3ed5540
parent01f06f84051aca22962c3019ebea0277d0c44f7b (diff)
downloadpttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar.gz
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar.bz2
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar.lz
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar.xz
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.tar.zst
pttbbs-6663e2e5e7484c54c2b52859b7d4c0bc12510d57.zip
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 1b932dad..044927dc 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -115,13 +115,13 @@ log_usies(char *mode, char *mesg)
if (!mesg)
snprintf(genbuf, sizeof(genbuf),
- cuser.userid[0] ? "%s %s %-12s Stay:%d (%s)" :
+ cuser.userid[0] ? "%s %s %-12s Stay:%d (%s)\n" :
"%s %s %s Stay:%d (%s)\n",
Cdate(&now), mode, cuser.userid,
(int)(now - login_start_time) / 60, cuser.username);
else
snprintf(genbuf, sizeof(genbuf),
- cuser.userid[0] ? "%s %s %-12s %s" : "%s %s %s%s\n",
+ cuser.userid[0] ? "%s %s %-12s %s\n" : "%s %s %s%s\n",
Cdate(&now), mode, cuser.userid, mesg);
log_file(FN_USIES, genbuf, 1);