From 8b7059491ba02e76251e882b16c036989f2e1bf2 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 8 Aug 2008 19:19:55 +0000 Subject: [PATCH] Prevent double processing after re-enabling from an empty SNAM. --- src/rec/subRecord.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/rec/subRecord.c b/src/rec/subRecord.c index e41cc0919..5a304cd71 100644 --- a/src/rec/subRecord.c +++ b/src/rec/subRecord.c @@ -168,8 +168,9 @@ static long special(DBADDR *paddr, int after) subRecord *prec = (subRecord *)paddr->precord; if (!after) { - if (prec->snam[0] == 0) + if (prec->snam[0] == 0 && prec->pact) prec->pact = FALSE; + prec->rpro = FALSE; return 0; }