Merge pull request #29278 from bfredl/strcat

refactor(memory): use builtin strcat() instead of STRCAT()
This commit is contained in:
bfredl
2024-06-11 19:21:50 +02:00
committed by GitHub
29 changed files with 79 additions and 81 deletions

View File

@@ -711,7 +711,7 @@ char *au_event_disable(char *what)
if (*what == ',' && *p_ei == NUL) {
STRCPY(new_ei, what + 1);
} else {
STRCAT(new_ei, what);
strcat(new_ei, what);
}
set_option_direct(kOptEventignore, CSTR_AS_OPTVAL(new_ei), 0, SID_NONE);
xfree(new_ei);