From d92c113f9266f75bb4ee49a7e69b443018fb4c90 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 18 Nov 2013 08:37:54 +0100 Subject: Follow-up to d9a89c56ea63e369999ca13f1584eef9e511490f - Updated db2sql plugin to reflect the latest changes. - Fixes bugreport:7835, special thanks to ossi0110 http://hercules.ws/board/tracker/issue-7835-db2sql-plugin-error/ Signed-off-by: Haru --- src/plugins/db2sql.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins') diff --git a/src/plugins/db2sql.c b/src/plugins/db2sql.c index b3d389527..3c3981bdd 100644 --- a/src/plugins/db2sql.c +++ b/src/plugins/db2sql.c @@ -139,7 +139,7 @@ void do_db2sql(void) { memset(&tosql.buf, 0, sizeof(tosql.buf) ); itemdb->clear(false); - itemdb->readdb("re/item_db.conf"); + itemdb->readdb_libconfig("re/item_db.conf"); fclose(tosql.fp); @@ -152,7 +152,7 @@ void do_db2sql(void) { totable(); itemdb->clear(false); - itemdb->readdb("pre-re/item_db.conf"); + itemdb->readdb_libconfig("pre-re/item_db.conf"); fclose(tosql.fp); @@ -165,7 +165,7 @@ void do_db2sql(void) { totable(); itemdb->clear(false); - itemdb->readdb("item_db2.conf"); + itemdb->readdb_libconfig("item_db2.conf"); fclose(tosql.fp); -- cgit v1.2.3-70-g09d2