This commit is contained in:
tomas@poseidon.(none) 2004-09-10 14:55:42 +00:00
parent 69695656a1
commit 8df4fa5d43

View File

@ -440,13 +440,11 @@ ClusterMgr::reportNodeFailed(NodeId nodeId){
theNode.nfCompleteRep = false; theNode.nfCompleteRep = false;
if(noOfConnectedNodes == 0){ if(noOfConnectedNodes == 0){
Uint32 theData[1]; NFCompleteRep rep;
NFCompleteRep * rep = (NFCompleteRep *)&theData[0];
for(Uint32 i = 1; i<MAX_NODES; i++){ for(Uint32 i = 1; i<MAX_NODES; i++){
if(theNodes[i].defined && theNodes[i].nfCompleteRep == false){ if(theNodes[i].defined && theNodes[i].nfCompleteRep == false){
rep->failedNodeId = i; rep.failedNodeId = i;
execNF_COMPLETEREP(theData); execNF_COMPLETEREP((Uint32*)&rep);
} }
} }
} }