]> git.sommitrealweird.co.uk Git - onak.git/blobdiff - maxpath.c
Log total received key count.
[onak.git] / maxpath.c
index 21f23c281655305c196a96bbd70dd4630c1c9a07..dfee16c4025cba994b0a19cc55d2f2a68cf28dd0 100644 (file)
--- a/maxpath.c
+++ b/maxpath.c
@@ -64,13 +64,13 @@ void findmaxpath(unsigned long max)
                        from->keyid,
                        to->keyid,
                        distance);
-       dofindpath(to->keyid, from->keyid, false);
+       dofindpath(to->keyid, from->keyid, false, 1);
 }
 
 int main(int argc, char *argv[])
 {
-       readconfig();
-       initdb();
+       readconfig(NULL);
+       initdb(true);
        inithash();
        findmaxpath(30);
        printf("--------\n");