mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
use memmove()
This commit is contained in:
parent
76401bbcba
commit
54fff16a0d
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user