X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/b9cb543b3a93d9e9b74511c5b58b46793b4a7edf..c07882446d1f6a830cb4d008bf9d20d3b38a7023:/maxpath.c diff --git a/maxpath.c b/maxpath.c index 8c22b4a..509616e 100644 --- a/maxpath.c +++ b/maxpath.c @@ -13,6 +13,7 @@ #include "hash.h" #include "keydb.h" #include "ll.h" +#include "onak-conf.h" #include "stats.h" void findmaxpath(unsigned long max) @@ -55,6 +56,7 @@ void findmaxpath(unsigned long max) int main(int argc, char *argv[]) { + readconfig(); initdb(); inithash(); findmaxpath(30); @@ -62,6 +64,7 @@ int main(int argc, char *argv[]) findmaxpath(30); destroyhash(); cleanupdb(); + cleanupconfig(); return EXIT_SUCCESS; }