From 574eb184cfc88c2af3eaaec6706a8e04bae66506 Mon Sep 17 00:00:00 2001 From: Marty Kraimer Date: Mon, 4 Mar 1996 14:05:11 +0000 Subject: [PATCH] If asSetFilename has been called and asInit fails make sure error returned --- src/as/asDbLib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/as/asDbLib.c b/src/as/asDbLib.c index 45349078e..380effce7 100644 --- a/src/as/asDbLib.c +++ b/src/as/asDbLib.c @@ -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)