Skip to content
Snippets Groups Projects
Commit 7cac267a authored by Michael Davidsaver's avatar Michael Davidsaver Committed by Andrew Johnson
Browse files

db: Fix possible error handling in dbPut

parent 71079ede
No related branches found
No related tags found
No related merge requests found
......@@ -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 &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment