]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - gpgwww.c
Fix compilation of PostgreSQL backend.
[onak.git] / gpgwww.c
index 05cfc00097833646cc1ac8c54d31b7c9c23bf757..4668239bb3334347cbcf7be8c933a1e662a6346a 100644 (file)
--- a/gpgwww.c
+++ b/gpgwww.c
@@ -5,7 +5,7 @@
  *
  * Copyright 2001-2002 Project Purple.
  *
- * $Id: gpgwww.c,v 1.11 2003/06/08 19:04:31 noodles Exp $
+ * $Id: gpgwww.c,v 1.14 2004/05/26 18:53:14 noodles Exp $
  */
 
 #include <inttypes.h>
@@ -62,10 +62,13 @@ int main(int argc, char *argv[])
                        to,
                        from);
 
-       readconfig();
+       readconfig(NULL);
        initlogthing("gpgwww", config.logfile);
-       initdb();
+       initdb(true);
        inithash();
+       logthing(LOGTHING_NOTICE, "Looking for path from 0x%llX to 0x%llX.",
+                       from,
+                       to);
        dofindpath(from, to, true, 3);
        destroyhash();
        cleanupdb();