Prevent double processing after re-enabling from an empty SNAM.

This commit is contained in:
Andrew Johnson
2008-08-08 19:19:55 +00:00
parent 482fae3ac1
commit 8b7059491b

View File

@@ -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;
}