X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=maxpath.c;h=d128e9c65e51583c75bed8e7e8c74336e4836c0c;hb=0c120d1895d25b59abe338862189be1b87447569;hp=0932df31669b98034affda15fa0eb9ba5fc55f44;hpb=83ae316a7b14e55418349e87d1a1942a0627ae14;p=onak.git diff --git a/maxpath.c b/maxpath.c index 0932df3..d128e9c 100644 --- a/maxpath.c +++ b/maxpath.c @@ -18,11 +18,12 @@ */ #include +#include +#include #include #include #include -#include "stats.h" #include "hash.h" #include "keydb.h" #include "ll.h" @@ -102,7 +103,7 @@ int main(int argc, char *argv[]) readconfig(configfile); free(configfile); initlogthing("maxpath", config.logfile); - dbctx = config.dbinit(true); + dbctx = config.dbinit(config.backend, true); if (dbctx != NULL) { inithash(); findmaxpath(dbctx, 30);