From 8de2f4d20b9b905c367d07046fa04ca78dd135ad Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 2 Jun 2026 13:16:12 -0400 Subject: Replace string functions --- src/lib/core/utils.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit