diff options
| author | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-06-02 13:16:12 -0400 |
|---|---|---|
| committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2026-06-02 13:16:12 -0400 |
| commit | 8de2f4d20b9b905c367d07046fa04ca78dd135ad (patch) | |
| tree | 40bc4d05ac721a5f1d9336f2a31557dc807c49c4 /src/lib | |
| parent | 163ba76a10ad1277bec892209362871ab8a41fbc (diff) | |
| download | stasis-8de2f4d20b9b905c367d07046fa04ca78dd135ad.tar.gz | |
Replace string functions
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/core/utils.c | 1 |
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); |
