mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-05-24 22:39:51 +00:00
Change memcpy to memmove to quiet down valgrind.
(Logical change 1.23) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@64 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
98bcde6396
commit
ae695b04d0
@ -288,7 +288,7 @@ static void libraryNotificationLeave (SaClmNodeIdT *nodes, int nodes_entries)
|
||||
for (j = 0; j < clusterNodeEntries;) {
|
||||
if (nodes[i] == clusterNodes[j].nodeId) {
|
||||
clusterNodeEntries -= 1;
|
||||
memcpy (&clusterNodes[j], &clusterNodes[j + 1],
|
||||
memmove (&clusterNodes[j], &clusterNodes[j + 1],
|
||||
(clusterNodeEntries - j) * sizeof (SaClmClusterNodeT));
|
||||
} else {
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user