From 6663e2e5e7484c54c2b52859b7d4c0bc12510d57 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 22 Dec 2003 08:58:32 +0000 Subject: fix bug git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1424 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') 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); -- cgit v1.2.3