If asSetFilename has been called and asInit fails make sure error returned

This commit is contained in:
Marty Kraimer
1996-03-04 14:05:11 +00:00
parent ff33b704aa
commit 574eb184cf
+3 -2
View File
@@ -184,8 +184,9 @@ static long asInitCommon(void)
int asInit(void)
{
asInitCommon();
return(0);
/*If no access configuration file defined return success*/
if(!pacf) return(0);
return(asInitCommon());
}
static void wdCallback(ASDBCALLBACK *pcallback)