summaryrefslogtreecommitdiffstats
path: root/database/eurephiadb.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2010-08-29 16:42:09 +0200
committerDavid Sommerseth <dazo@users.sourceforge.net>2010-08-29 16:42:09 +0200
commita786ae8b4ad3ef7e6836f53b874c265988357aec (patch)
tree865242be23bca397f063ec0231bf4722b3853f3f /database/eurephiadb.c
parent04c73de447d5320dda1f242e1c4fae51bba3dbd2 (diff)
downloadeurephia-a786ae8b4ad3ef7e6836f53b874c265988357aec.tar.gz
eurephia-a786ae8b4ad3ef7e6836f53b874c265988357aec.tar.xz
eurephia-a786ae8b4ad3ef7e6836f53b874c265988357aec.zip
Updated wrong log entries
Removed old and obsolete expressions used to reference the eurephia database driver. Signed-off-by: David Sommerseth <dazo@users.sourceforge.net>
Diffstat (limited to 'database/eurephiadb.c')
-rw-r--r--database/eurephiadb.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/database/eurephiadb.c b/database/eurephiadb.c
index ff3a168..d4618d3 100644
--- a/database/eurephiadb.c
+++ b/database/eurephiadb.c
@@ -50,7 +50,7 @@ int eDBlink_close(eurephiaCTX *ctx)
return 1;
}
- eurephia_log(ctx, LOG_INFO, 3, "Unloading eurephiaDB driver");
+ eurephia_log(ctx, LOG_INFO, 3, "Unloading eurephia database driver");
if( ctx->eurephia_driver != NULL ) {
dlclose(ctx->eurephia_driver);
ctx->eurephia_driver = NULL;
@@ -71,15 +71,15 @@ int eDBlink_close(eurephiaCTX *ctx)
int eDBlink_init(eurephiaCTX *ctx, const char *dbdriver, const int minver)
{
if( dbdriver == NULL ) {
- eurephia_log(ctx, LOG_FATAL, 0, "No eurephia eDBlink driver given. "
+ eurephia_log(ctx, LOG_FATAL, 0, "No eurephia database driver configured. "
"eurephia authentication will not be available");
return 0;
}
- eurephia_log(ctx, LOG_INFO, 2, "Loading eurephiaDB driver: %s", dbdriver);
+ eurephia_log(ctx, LOG_INFO, 2, "Loading eurephia database driver: %s", dbdriver);
ctx->eurephia_driver = dlopen(dbdriver, RTLD_NOW);
if( ctx->eurephia_driver == NULL ) {
- eurephia_log(ctx, LOG_FATAL, 0, "Could not open the eurephia eDBlink driver (%s)", dbdriver);
+ eurephia_log(ctx, LOG_FATAL, 0, "Could not open the eurephia database driver (%s)", dbdriver);
eurephia_log(ctx, LOG_FATAL, 1, "dlopen error: %s", dlerror());
return 0;
}
@@ -94,7 +94,7 @@ int eDBlink_init(eurephiaCTX *ctx, const char *dbdriver, const int minver)
// Check that we are using at least a new enough driver
if( eDB_DriverAPIVersion() < minver ) {
eurephia_log(ctx, LOG_FATAL, 0,
- "The requested eurephiaDB driver is too old. This program needs "
+ "The requested eurephia database driver is too old. This program needs "
"API version %i, but this driver only supports API version %i.\n",
minver, eDB_DriverAPIVersion());
return 0;
@@ -104,8 +104,8 @@ int eDBlink_init(eurephiaCTX *ctx, const char *dbdriver, const int minver)
switch( (eDB_DriverAPIVersion() > minver ? minver : eDB_DriverAPIVersion()) ) {
default:
eurephia_log(ctx, LOG_WARNING, 0,
- "eurephiaDB driver API is newer than the running eurephia version. Consider "
- "to upgrade eurephia to take advantage of newer features in the eurephiaDB driver.");
+ "eurephia database driver API is newer than the running eurephia version. Consider "
+ "to upgrade eurephia to take advantage of newer features in the driver.");
case 2:
#ifdef ENABLE_EUREPHIADM
eDBadminAuthenticate = eGetSym(ctx, ctx->eurephia_driver, "eDBadminAuthenticate");
@@ -153,7 +153,7 @@ int eDBlink_init(eurephiaCTX *ctx, const char *dbdriver, const int minver)
break;
}
if( ctx->fatal_error > 0 ) {
- eurephia_log(ctx, LOG_FATAL, 0, "eurephia eDBlink is not correctly initialised. "
+ eurephia_log(ctx, LOG_FATAL, 0, "The eurephia database driver is not correctly initialised. "
"eurephia authentication will not be available");
eDBlink_close(ctx);
return 0;