summaryrefslogtreecommitdiffstats
path: root/mbbsd/chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/chat.c')
-rw-r--r--mbbsd/chat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index fc91a379..612611c7 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -134,8 +134,8 @@ printuserent(const userinfo_t * uentp)
uentp->invisible ? '#' : ' ',
modestring(uentp, 1));
if (cnt < 2)
- strcat(pline, "¢x");
- strcat(uline, pline);
+ strlcat(pline, "¢x", sizeof(pline));
+ strlcat(uline, pline, sizeof(uline));
if (++cnt == 3) {
printchatline(uline);
memset(uline, 0, 80);