projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add #DEBHELPER# tokens to postinst/postrm (Debian packaging)
[onak.git]
/
sixdegrees.c
diff --git
a/sixdegrees.c
b/sixdegrees.c
index 0dd324f0c139aee07b9b19fc7beae68e84336092..d7d650f3c1260f3265a941852560f29e4225cadf 100644
(file)
--- a/
sixdegrees.c
+++ b/
sixdegrees.c
@@
-13,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"
@@
-125,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;