maxpath wasn't initialising the logging infrastructure, so would
log to stderr rather than the log file for example. Fix this.
#include "hash.h"
#include "keydb.h"
#include "ll.h"
#include "hash.h"
#include "keydb.h"
#include "ll.h"
#include "onak-conf.h"
#include "stats.h"
#include "onak-conf.h"
#include "stats.h"
int main(int argc, char *argv[])
{
readconfig(NULL);
int main(int argc, char *argv[])
{
readconfig(NULL);
+ initlogthing("maxpath", config.logfile);
initdb(true);
inithash();
findmaxpath(30);
initdb(true);
inithash();
findmaxpath(30);
findmaxpath(30);
destroyhash();
cleanupdb();
findmaxpath(30);
destroyhash();
cleanupdb();
cleanupconfig();
return EXIT_SUCCESS;
cleanupconfig();
return EXIT_SUCCESS;