]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - gpgwww.c
cscvs to tla changeset 63
[onak.git] / gpgwww.c
index c225b827c90e095176e4d473b0a1fec9d82d0cd7..f5b16448de0f4591318631bda69dd9c093b19976 100644 (file)
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -14,6 +14,7 @@
 #include "getcgi.h"
 #include "hash.h"
 #include "keydb.h"
 #include "getcgi.h"
 #include "hash.h"
 #include "keydb.h"
+#include "log.h"
 #include "onak-conf.h"
 #include "stats.h"
 
 #include "onak-conf.h"
 #include "stats.h"
 
@@ -55,11 +56,13 @@ int main(int argc, char *argv[])
 
        printf("<P>Looking for path from 0x%llX to 0x%llX</P>\n", from, to);
        readconfig();
 
        printf("<P>Looking for path from 0x%llX to 0x%llX</P>\n", from, to);
        readconfig();
+       initlogthing("gpgwww", config.logfile);
        initdb();
        inithash();
        dofindpath(from, to, true);
        destroyhash();
        cleanupdb();
        initdb();
        inithash();
        dofindpath(from, to, true);
        destroyhash();
        cleanupdb();
+       cleanuplogthing();
        cleanupconfig();
 
        puts("<HR>");
        cleanupconfig();
 
        puts("<HR>");