diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-16 13:39:17 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-16 13:39:17 +0800 |
commit | 46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d (patch) | |
tree | 70bede25e9ceab2711f456b941b1cad345194dd7 /mbbsd/talk.c | |
parent | 95bd148f89a965c00b11771ccdf1d7090f4f308a (diff) | |
download | pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar.gz pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar.bz2 pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar.lz pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar.xz pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.tar.zst pttbbs-46d670eedce001eb79f4ce5cc8f6ffaf2ad83b5d.zip |
include/common.h, mbbsd/friend.c: check buffer size
include/fpg.h: highlight the bug
mbbsd/talk.c: change that odd time_t worked as a boolean to int
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3046 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/talk.c')
-rw-r--r-- | mbbsd/talk.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c index ae889028..fb8cffc7 100644 --- a/mbbsd/talk.c +++ b/mbbsd/talk.c @@ -1732,9 +1732,8 @@ friend_descript(const userinfo_t * uentp, char *desc_buf, int desc_buflen) return space_buf; } -/* XXX ¬°¤°»ò diff ¬O time_t */ static const char * -descript(int show_mode, const userinfo_t * uentp, time4_t diff) +descript(int show_mode, const userinfo_t * uentp, int diff) { static char description[30]; switch (show_mode) { |