From 24bc06d5ff053a24df0790e5986c82ce60f5074e Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Mon, 13 Feb 1995 16:48:55 +0000 Subject: [PATCH] Reset nRequest to 1 --- src/rec/recDfanout.c | 1 + src/rec/recGsub.c | 1 + src/rec/recMbbiDirect.c | 1 + src/rec/recMbboDirect.c | 1 + src/rec/recSeq.c | 1 + 5 files changed, 5 insertions(+) diff --git a/src/rec/recDfanout.c b/src/rec/recDfanout.c index 9867794bb..0176b3d3e 100644 --- a/src/rec/recDfanout.c +++ b/src/rec/recDfanout.c @@ -304,6 +304,7 @@ struct dfanoutRecord *pdfanout; long status; for(i=0, plink=&(pdfanout->outa); ival),&nRequest); if (!RTN_SUCCESS(status)) return(-1); diff --git a/src/rec/recGsub.c b/src/rec/recGsub.c index f127740cf..a15ae1eeb 100644 --- a/src/rec/recGsub.c +++ b/src/rec/recGsub.c @@ -387,6 +387,7 @@ struct gsubRecord *psub; long status; for(i=0, plink=&psub->inpa, pvalue=&psub->a; isimm == YES){ + nRequest=1; status=recGblGetLinkValue(&(pmbbiDirect->siol), (void *)pmbbiDirect,DBR_USHORT,&(pmbbiDirect->sval),&options,&nRequest); if (status==0){ diff --git a/src/rec/recMbboDirect.c b/src/rec/recMbboDirect.c index 7772fd208..f19425457 100644 --- a/src/rec/recMbboDirect.c +++ b/src/rec/recMbboDirect.c @@ -347,6 +347,7 @@ static long writeValue(pmbboDirect) return(status); } if (pmbboDirect->simm == YES){ + nRequest=1; status=recGblPutLinkValue(&(pmbboDirect->siol), (void *)pmbboDirect,DBR_USHORT,&(pmbboDirect->val),&nRequest); } else { diff --git a/src/rec/recSeq.c b/src/rec/recSeq.c index fc658653f..de1d20351 100644 --- a/src/rec/recSeq.c +++ b/src/rec/recSeq.c @@ -452,6 +452,7 @@ CALLBACK *pCallback; } /* Dump the value to the destination field */ + nRequest = 1; recGblPutLinkValue(&(pcb->plinks[pcb->index]->lnk), (void *)pseq, DBR_DOUBLE, &(pcb->plinks[pcb->index]->dov), &nRequest); if (myDouble != pcb->plinks[pcb->index]->dov)