Make space for three characters after a strlcpy call
This commit is contained in:
parent
187673fb2a
commit
4d6c012009
|
@ -1826,7 +1826,7 @@ static int action_bind_sublabel_netplay_kick_client(file_list_t *list,
|
|||
if (status)
|
||||
{
|
||||
size_t _len = strlcpy(buf, msg_hash_to_str(MENU_ENUM_LABEL_VALUE_STATUS),
|
||||
sizeof(buf));
|
||||
sizeof(buf) - 3);
|
||||
buf[ _len] = ':';
|
||||
buf[++_len] = ' ';
|
||||
buf[++_len] = '\0';
|
||||
|
|
Loading…
Reference in New Issue