Fix list length lookup in WorkerGetLiveNodeCount

pull/1368/head
Marco Slot 2017-04-29 01:59:09 +02:00
parent 022fc7bbcb
commit 6e58067962
1 changed files with 1 additions and 1 deletions

View File

@ -303,7 +303,7 @@ uint32
WorkerGetLiveNodeCount(void)
{
List *workerNodeList = ActiveWorkerNodeList();
uint32 liveWorkerCount = workerNodeList->length;
uint32 liveWorkerCount = list_length(workerNodeList);
return liveWorkerCount;
}