]> the.earth.li Git - onak.git/blobdiff - maxpath.c
cscvs to tla changeset 46
[onak.git] / maxpath.c
index ffa230fd2c1e557ed83fa8d269b48376a28a472e..0bb5fcf1aca5aa7b2a6f4aaeb359cbee2c889b78 100644 (file)
--- a/maxpath.c
+++ b/maxpath.c
@@ -24,12 +24,12 @@ void findmaxpath(unsigned long max)
 
        distance = 0;
        from = to = tmp = NULL;
-       hash_getkeysigs(0xF1BD4BE45B430367);
+       cached_getkeysigs(0xF1BD4BE45B430367);
 
        for (loop = 0; (loop < HASHSIZE) && (distance < max); loop++) {
                curkey = gethashtableentry(loop);
                while (curkey != NULL && distance < max) {
-                       hash_getkeysigs(((struct stats_key *)
+                       cached_getkeysigs(((struct stats_key *)
                                        curkey->object)->keyid);
                        initcolour(false);
                        tmp = furthestkey((struct stats_key *)
@@ -64,6 +64,7 @@ int main(int argc, char *argv[])
        findmaxpath(30);
        destroyhash();
        cleanupdb();
+       cleanupconfig();
        
        return EXIT_SUCCESS;
 }