aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-02 13:16:12 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-02 13:16:12 -0400
commit8de2f4d20b9b905c367d07046fa04ca78dd135ad (patch)
tree40bc4d05ac721a5f1d9336f2a31557dc807c49c4 /src/lib
parent163ba76a10ad1277bec892209362871ab8a41fbc (diff)
downloadstasis-8de2f4d20b9b905c367d07046fa04ca78dd135ad.tar.gz
Replace string functions
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/core/utils.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/core/utils.c b/src/lib/core/utils.c
index 1f04a11..b4a520d 100644
--- a/src/lib/core/utils.c
+++ b/src/lib/core/utils.c
@@ -461,7 +461,6 @@ void msg(unsigned type, char *fmt, ...) {
fprintf(stream, "%s", STASIS_COLOR_GREEN);
safe_strncpy(status, " ", sizeof(status));
}
- status[sizeof(status) - 1] = '\0';
if (type & STASIS_MSG_L1) {
snprintf(header, sizeof(header), "==>%s" STASIS_COLOR_RESET STASIS_COLOR_WHITE, status);