X-Git-Url: https://the.earth.li/gitweb/?a=blobdiff_plain;f=maxpath.c;h=f088cc615274cc6eb24a55c73f7391c9f7feffef;hb=58ed9a0076feb9604154b99da6ed1907ca7df089;hp=0932df31669b98034affda15fa0eb9ba5fc55f44;hpb=83ae316a7b14e55418349e87d1a1942a0627ae14;p=onak.git diff --git a/maxpath.c b/maxpath.c index 0932df3..f088cc6 100644 --- a/maxpath.c +++ b/maxpath.c @@ -13,16 +13,16 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #include +#include +#include #include #include #include -#include "stats.h" #include "hash.h" #include "keydb.h" #include "ll.h" @@ -102,7 +102,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);