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:
Steven Dake 2004-07-07 21:12:01 +00:00
parent 98bcde6396
commit ae695b04d0

View File

@ -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 {
/*