Fixed error

This commit is contained in:
Marty Kraimer
1991-10-03 15:47:53 +00:00
parent d1d7e01085
commit 62f6800356
+1 -2
View File
@@ -427,11 +427,10 @@ long dbPutField(paddr,dbrType,pbuffer,nRequest)
{
long status;
struct fldDes *pfldDes=(struct fldDes *)(paddr->pfldDes);
struct dbCommon *precord = (struct dbCommon *)(paddr->precord);
/*check for putField disabled*/
if(precord->disp) {
struct dbCommon *precord = (struct dbCommon *)(paddr->precord);
if((caddr_t)(&precord->disp) != paddr->pfield) return(0);
}
dbScanLock(paddr->precord);