Replace magic "2" with macro AAI_DEVINIT_PASS1
This commit is contained in:
@@ -48,8 +48,8 @@ static long init_record(dbCommon *pcommon)
|
||||
DBLINK *plink = &prec->inp;
|
||||
|
||||
/* Ask record to call us in pass 1 instead */
|
||||
if (prec->pact != 2) {
|
||||
return 2;
|
||||
if (prec->pact != AAI_DEVINIT_PASS1) {
|
||||
return AAI_DEVINIT_PASS1;
|
||||
}
|
||||
|
||||
if (dbLinkIsConstant(plink)) {
|
||||
|
||||
Reference in New Issue
Block a user