aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
Diffstat (limited to 'FICS')
-rw-r--r--FICS/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/utils.c b/FICS/utils.c
index f182256..b8af230 100644
--- a/FICS/utils.c
+++ b/FICS/utils.c
@@ -668,7 +668,7 @@ hms(int t, int showhour, int showseconds, int spaces)
snprintf(tmp, sizeof tmp, " : %02d", s);
else
snprintf(tmp, sizeof tmp, ":%02d", s);
- strcat(tstr, tmp);
+ strlcat(tstr, tmp, sizeof tstr);
}
return tstr;
}