* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
- *
- * $Id: maxpath.c,v 1.11 2004/03/23 12:33:47 noodles Exp $
*/
#include <stdio.h>
#include "hash.h"
#include "keydb.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
int main(int argc, char *argv[])
{
readconfig(NULL);
+ initlogthing("maxpath", config.logfile);
initdb(true);
inithash();
findmaxpath(30);
findmaxpath(30);
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return EXIT_SUCCESS;