diff --git a/ChangeLog b/ChangeLog index 5db4c41f0..51c2960a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2009-11-24 Holger Vogt + * com_sysinfo.c: bugfix no. 2902374 + 2009-11-21 Holger Vogt * spicelib/parser/inptree.c: memory allocation of struct pwldata->vals failed in MS Visual Studio 2008, changed. diff --git a/src/frontend/com_sysinfo.c b/src/frontend/com_sysinfo.c index 6fc676e8c..b90591a0f 100644 --- a/src/frontend/com_sysinfo.c +++ b/src/frontend/com_sysinfo.c @@ -286,7 +286,7 @@ TesError tesCreateSystemInfo(TesSystemInfo *info) { while((strPtr = strstr(strPtr, matchStrProc)) != NULL) { // numProcs++; strPtr += strlen(matchStrProc); - if isblank(*strPtr) numProcs++; + if (isblank(*strPtr)) numProcs++; } info->numLogicalProcessors = numProcs; physIDs = malloc(numProcs * sizeof(tInt));