projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
0.3.2 release.
[onak.git]
/
sixdegrees.c
diff --git
a/sixdegrees.c
b/sixdegrees.c
index f2700290bdedc1b3bc64fa5f7d5732cb65790546..d7d650f3c1260f3265a941852560f29e4225cadf 100644
(file)
--- a/
sixdegrees.c
+++ b/
sixdegrees.c
@@
-4,8
+4,6
@@
* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
* Jonathan McDowell <noodles@earth.li>
*
* Copyright 2001-2002 Project Purple.
- *
- * $Id: sixdegrees.c,v 1.6 2004/03/23 12:33:47 noodles Exp $
*/
#include <stdio.h>
*/
#include <stdio.h>
@@
-15,6
+13,7
@@
#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
#include "keydb.h"
#include "keystructs.h"
#include "ll.h"
+#include "log.h"
#include "onak-conf.h"
#include "stats.h"
#include "onak-conf.h"
#include "stats.h"
@@
-127,11
+126,13
@@
int main(int argc, char *argv[])
}
readconfig(NULL);
}
readconfig(NULL);
+ initlogthing("sixdegrees", config.logfile);
initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));
destroyhash();
cleanupdb();
initdb(true);
inithash();
sixdegrees(getfullkeyid(keyid));
destroyhash();
cleanupdb();
+ cleanuplogthing();
cleanupconfig();
return 0;
cleanupconfig();
return 0;