]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Fix compilation of PostgreSQL backend.
[onak.git] / sixdegrees.c
index d647f5e78b468f1246d6b69883ade9cacc5ec01e..f2700290bdedc1b3bc64fa5f7d5732cb65790546 100644 (file)
@@ -4,6 +4,8 @@
  * 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>
@@ -124,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();