Skip to content
Snippets Groups Projects
Commit 57f0e1d8 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Fix (memmove instead of memcpy)

parent 7a9c6ba1
No related branches found
No related tags found
No related merge requests found
......@@ -1693,7 +1693,7 @@ static void knot_zone_contents_left_chop(char *name, size_t *size)
while (name[i] != '.') {
++i;
}
memcpy(name, name + i + 1, *size - i - 1);
memmove(name, name + i + 1, *size - i - 1);
*size = *size - i - 1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment