]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - sixdegrees.c
Fix segfault with non existant short key id & keydb_fs.
[onak.git] / sixdegrees.c
index a21ed0ef9c0f1bd84309e49f0c47202eb2d27d56..0dd324f0c139aee07b9b19fc7beae68e84336092 100644 (file)
@@ -4,8 +4,6 @@
  * 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.5 2003/10/15 21:15:21 noodles Exp $
  */
 
 #include <stdio.h>
  */
 
 #include <stdio.h>
@@ -127,7 +125,7 @@ int main(int argc, char *argv[])
        }
 
        readconfig(NULL);
        }
 
        readconfig(NULL);
-       initdb();
+       initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();