]> 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 d647f5e78b468f1246d6b69883ade9cacc5ec01e..0dd324f0c139aee07b9b19fc7beae68e84336092 100644 (file)
@@ -124,8 +124,8 @@ int main(int argc, char *argv[])
                keyid = strtoll(argv[1], NULL, 16);
        }
 
-       readconfig();
-       initdb();
+       readconfig(NULL);
+       initdb(true);
        inithash();
        sixdegrees(getfullkeyid(keyid));
        destroyhash();