catools: Fixed caget (w/o -c) always fetching max. array count
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user