Replace magic "2" with macro AAI_DEVINIT_PASS1
This commit is contained in:
1 parent
6734918e6e
commit
6754404d0f
3 files changed
+11
-10
No files matched your search
@@ -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