catools: Fixed caget (w/o -c) always fetching max. array count

This commit is contained in:
Ralph Lange
2011-08-25 17:41:53 +02:00
parent 2b65025d93
commit 14e7111e72
+1 -1
View File
@@ -210,7 +210,7 @@ static int caget (pv *pvs, int nPvs, RequestT request, OutputT format,
return 1;
}
result = ca_array_get(pvs[n].dbrType,
pvs[n].nElems,
pvs[n].reqElems,
pvs[n].chid,
pvs[n].value);
}