]> the.earth.li Git - onak.git/blobdiff - wotsap.c
Properly isolate database backend configuration
[onak.git] / wotsap.c
index 66dc94699d2dc12150e541b543b0e6e12c3d47c3..ce25b02e8b4f4224c478c0239524f0b7ab95f875 100644 (file)
--- a/wotsap.c
+++ b/wotsap.c
@@ -203,7 +203,7 @@ int main(int argc, char *argv[])
 
        readconfig(configfile);
        initlogthing("wotsap", config.logfile);
-       dbctx = config.dbinit(true);
+       dbctx = config.dbinit(config.backend, true);
        if (dbctx != NULL) {
                inithash();
                wotsap(dbctx, dbctx->getfullkeyid(dbctx, keyid),