* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
- *
- * $Id: sixdegrees.c,v 1.4 2003/06/04 20:57:12 noodles Exp $
*/
#include <stdio.h>
#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
keyid = strtoll(argv[1], NULL, 16);
}
- readconfig();
- initdb();
+ readconfig(NULL);
+ initlogthing("sixdegrees", config.logfile);
+ initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return 0;