]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Fix compilation of PostgreSQL backend.
[onak.git] / sixdegrees.c
index 9b13cfbca08cafa38ac094aeec1ee9897fcb4694..f2700290bdedc1b3bc64fa5f7d5732cb65790546 100644 (file)
@@ -5,7 +5,7 @@
  *
  * Copyright 2001-2002 Project Purple.
  *
  *
  * Copyright 2001-2002 Project Purple.
  *
- * $Id: sixdegrees.c,v 1.4 2003/06/04 20:57:12 noodles Exp $
+ * $Id: sixdegrees.c,v 1.6 2004/03/23 12:33:47 noodles Exp $
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
@@ -126,8 +126,8 @@ int main(int argc, char *argv[])
                keyid = strtoll(argv[1], NULL, 16);
        }
 
                keyid = strtoll(argv[1], NULL, 16);
        }
 
-       readconfig();
-       initdb();
+       readconfig(NULL);
+       initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();