From 933150165f9f0e545655c1577d415cb2fa950f9b Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Fri, 2 Sep 1994 13:33:46 +0000 Subject: [PATCH] If recGblGetLinkValue got no values leave things as they were --- src/dev/devWfSoft.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dev/devWfSoft.c b/src/dev/devWfSoft.c index 2af08c67e..8c891616e 100644 --- a/src/dev/devWfSoft.c +++ b/src/dev/devWfSoft.c @@ -106,7 +106,8 @@ static long read_wf(pwf) nRequest=pwf->nelm; status = recGblGetLinkValue(&(pwf->inp),(void *)pwf,pwf->ftvl,pwf->bptr, &options,&nRequest); - pwf->nord = nRequest; + /*If recGblGetLinkValue got no values leave things as they were*/ + if(nRequest>0) pwf->nord = nRequest; return(0); }