Prevent double processing after re-enabling from an empty SNAM.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user