db: Fix possible error handling in dbPut
This commit is contained in:
1 parent
71079ede4b
commit
7cac267a4b
1 file changed
+3
-2
+3
-2
@@ -1442,8 +1442,9 @@ long epicsShareAPI dbPut(DBADDR *paddr, short dbrType,
|
||||
else
|
||||
offset = 0;
|
||||
if (no_elements < nRequest) nRequest = no_elements;
|
||||
status = dbPutConvertRoutine[dbrType][field_type](paddr, pbuffer,
|
||||
nRequest, no_elements, offset);
|
||||
if (!status)
|
||||
status = dbPutConvertRoutine[dbrType][field_type](paddr, pbuffer,
|
||||
nRequest, no_elements, offset);
|
||||
|
||||
/* update array info */
|
||||
if (!status &&
|
||||
|
||||
Reference in new issue
Block a user