diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-05 11:51:51 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-05 11:51:51 +0800 |
commit | a7f24c3154adb6e3d757efb20475ab13f5733d4d (patch) | |
tree | 0eb4c726f591f96f598c7e4aac56d03245df74a9 /mbbsd/friend.c | |
parent | 78bb6105f51ab157263d3eddb00801cef00c8292 (diff) | |
download | pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar.gz pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar.bz2 pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar.lz pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar.xz pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.tar.zst pttbbs-a7f24c3154adb6e3d757efb20475ab13f5733d4d.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4083 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r-- | mbbsd/friend.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c index db36a8cc..5ff03900 100644 --- a/mbbsd/friend.c +++ b/mbbsd/friend.c @@ -74,7 +74,7 @@ friend_add(const char *uident, int type, const char* des) if ((uident[0] > ' ') && !belong(fpath, uident)) { char buf[STRLEN] = "", buf2[256]; char t_uident[IDLEN + 1]; - const maxdesclen = 40; // + const int maxdesclen = 40; // bounded screen width (due to prompt) assert(maxdesclen <= sizeof(buf)); |