From b9cb543b3a93d9e9b74511c5b58b46793b4a7edf Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Mon, 31 May 2004 23:46:57 +0000 Subject: [PATCH 1/1] cscvs to tla changeset 9 Author: noodles Date: 2002/09/08 10:33:51 Changing to output the max path when we've found it. --- maxpath.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maxpath.c b/maxpath.c index f46ea4c..8c22b4a 100644 --- a/maxpath.c +++ b/maxpath.c @@ -21,7 +21,6 @@ void findmaxpath(unsigned long max) struct ll *curkey; unsigned long distance, loop; - printf("In findmaxpath\n"); distance = 0; from = to = tmp = NULL; hash_getkeysigs(0xF1BD4BE45B430367); @@ -51,6 +50,7 @@ void findmaxpath(unsigned long max) from->keyid, to->keyid, distance); + dofindpath(to->keyid, from->keyid, false); } int main(int argc, char *argv[]) @@ -60,6 +60,7 @@ int main(int argc, char *argv[]) findmaxpath(30); printf("--------\n"); findmaxpath(30); + destroyhash(); cleanupdb(); return EXIT_SUCCESS; -- 2.39.5