cscvs to tla changeset 112
[onak.git] / maxpath.c
index 21f23c281655305c196a96bbd70dd4630c1c9a07..b0d2e9a9c6a716a2f4f6368ee4c1e6f1b9179911 100644 (file)
--- a/maxpath.c
+++ b/maxpath.c
@@ -4,6 +4,8 @@
  * Jonathan McDowell <noodles@earth.li>
  *
  * Copyright 2001-2002 Project Purple.
+ *
+ * $Id: maxpath.c,v 1.10 2003/10/15 21:15:21 noodles Exp $
  */
 
 #include <stdio.h>
@@ -64,12 +66,12 @@ 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();
+       readconfig(NULL);
        initdb();
        inithash();
        findmaxpath(30);