fix: Remove invalid strcat invocation for TRAILING_DELIMITER

Fixes #51
This commit is contained in:
Utkarsh Verma 2023-11-20 15:02:27 +05:30
parent c166ffe0b4
commit df76bd50f2
No known key found for this signature in database
GPG Key ID: 7A4885A7162BDF20

View File

@ -55,7 +55,7 @@ bool status_update(status *const status) {
#if TRAILING_DELIMITER
if (status->current[0] != '\0') {
(void)strcat(status->current, DELIMITER, LEN(DELIMITER));
(void)strncat(status->current, DELIMITER, LEN(DELIMITER));
}
#endif