mirror of
https://github.com/vivier/EMILE.git
synced 2025-08-07 15:25:04 +00:00
use memmove()
This commit is contained in:
@@ -25,7 +25,7 @@ void config_remove_indexed_property(char *configuration, char *index_name,
|
||||
if (index != -1)
|
||||
{
|
||||
len = strlen(configuration + index);
|
||||
memcpy(configuration + last_index, configuration + index, len);
|
||||
memmove(configuration + last_index, configuration + index, len);
|
||||
}
|
||||
|
||||
if (configuration[index + len - 1] == '\n')
|
||||
|
Reference in New Issue
Block a user