summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 23:21:25 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-18 23:21:25 +0800
commita1f92612eb4f8e33612b498314c9c5ebd167a9b5 (patch)
treee066918b8a54e0f9b6a505258f00a9232cbbf7d9 /mbbsd/bbs.c
parentad38a53cdb7f400d05befb6bb1419e07b0863cfe (diff)
downloadpttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar.gz
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar.bz2
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar.lz
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar.xz
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.tar.zst
pttbbs-a1f92612eb4f8e33612b498314c9c5ebd167a9b5.zip
- make aligned comments official.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4193 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
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);