X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/8e18b511aefa7786b66cb2ff152f1f4492ef4e33..556f51f104fbbb5bd0d51b61a18d7e5af2759079:/keydb_db3.c?ds=inline diff --git a/keydb_db3.c b/keydb_db3.c index 6ef3473..fc203a0 100644 --- a/keydb_db3.c +++ b/keydb_db3.c @@ -99,7 +99,7 @@ void initdb(void) char buf[1024]; int ret = 0; - strcpy(buf, config.db2_dbpath); + strcpy(buf, config.db_dir); strcat(buf, "/keydb.db"); ret = db_create(&dbconn, NULL, 0); @@ -116,7 +116,7 @@ void initdb(void) exit(1); } - strcpy(buf, config.db2_dbpath); + strcpy(buf, config.db_dir); strcat(buf, "/worddb"); ret = db_create(&worddb, NULL, 0);