From d3769953df63aaf7c4c1e4e66acc9e66851b0188 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Tue, 2 Apr 2002 21:01:11 +0000 Subject: [PATCH] nsev not sevr must be checked to decide if dbPutLink should be called. --- src/rec/calcoutRecord.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rec/calcoutRecord.c b/src/rec/calcoutRecord.c index 7b5eaca50..1bca1aa84 100644 --- a/src/rec/calcoutRecord.c +++ b/src/rec/calcoutRecord.c @@ -586,7 +586,7 @@ static void execOutput(pcalc) } /* Check to see what to do if INVALID */ - if (pcalc->sevr < INVALID_ALARM ) { + if (pcalc->nsev < INVALID_ALARM ) { /* Output the value */ status=dbPutLink(&(pcalc->out), DBR_DOUBLE,&(pcalc->oval),1); /* post event if output event != 0 */