From 6d13becdb72b320de438673ff941e872c4a69a15 Mon Sep 17 00:00:00 2001 From: h_vogt Date: Tue, 24 Nov 2009 21:30:43 +0000 Subject: [PATCH] bug no.2902374 fixed --- ChangeLog | 3 +++ src/frontend/com_sysinfo.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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));