From a1f92612eb4f8e33612b498314c9c5ebd167a9b5 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 18 Apr 2008 15:21:25 +0000 Subject: - make aligned comments official. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 9cc6cf6a..935d83e9 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2986,7 +2986,8 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) if( tolog == 1 ){ FILE *fp; if( (fp = fopen("log/push", "a")) != NULL ){ - fprintf(fp, "%s %d %s %s %s\n", cuser.userid, now, currboard, fhdr->filename, msg); + fprintf(fp, "%s %d %s %s %s\n", cuser.userid, + (int)now, currboard, fhdr->filename, msg); fclose(fp); } sleep(1); -- cgit v1.2.3