Fix list length lookup in WorkerGetLiveNodeCount

pull/1938/head
Marco Slot 2017-04-29 01:59:09 +02:00
parent c6392bd98b
commit 053f10d91c
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;
}