summaryrefslogtreecommitdiffstats
path: root/plugin/eurephia.c
diff options
context:
space:
mode:
authorDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 11:47:38 +0100
committerDavid Sommerseth <dazo@users.sourceforge.net>2008-11-28 11:47:38 +0100
commit622fb9169d5c554d5f5c8ca42e978f133be5bb45 (patch)
treee717468543fd8dedede65b81e5fd719f956277ae /plugin/eurephia.c
parent8b9e8f47e62d3e097287236a3cf3849215ad7f9d (diff)
downloadeurephia-622fb9169d5c554d5f5c8ca42e978f133be5bb45.tar.gz
eurephia-622fb9169d5c554d5f5c8ca42e978f133be5bb45.tar.xz
eurephia-622fb9169d5c554d5f5c8ca42e978f133be5bb45.zip
Added minimum API version check when loading database driver.
Diffstat (limited to 'plugin/eurephia.c')
-rw-r--r--plugin/eurephia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/eurephia.c b/plugin/eurephia.c
index 8dc01e2..4853591 100644
--- a/plugin/eurephia.c
+++ b/plugin/eurephia.c
@@ -170,7 +170,7 @@ eurephiaCTX *eurephiaInit(const char **argv)
ctx->loglevel = loglvl;
// Load the database driver
- if( (error == 0) && eDBlink_init(ctx, dbi) ) {
+ if( (error == 0) && eDBlink_init(ctx, dbi, 1) ) {
// Connect to the database
if( !eDBconnect(ctx, dbargc, dbargv) ) {
eurephia_log(ctx, LOG_PANIC, 0, "Could not connect to the database");