projects
/
onak.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unused keydb_dynamic.h header file
[onak.git]
/
maxpath.c
diff --git
a/maxpath.c
b/maxpath.c
index b9ba53a14b036b7b7a32cc0a3edc7b90e55c364c..0bdc04b9c49bba84ad72e1ec96d7945919eb2e20 100644
(file)
--- a/
maxpath.c
+++ b/
maxpath.c
@@
-28,10
+28,10
@@
void findmaxpath(unsigned long max)
from = to = tmp = NULL;
/*
from = to = tmp = NULL;
/*
- * My (noodles@earth.li,
D
SA) key is in the strongly connected set of
+ * My (noodles@earth.li,
R
SA) key is in the strongly connected set of
* keys, so we use it as a suitable starting seed.
*/
* keys, so we use it as a suitable starting seed.
*/
- config.dbbackend->cached_getkeysigs(0x
F1BD4BE45B430367
);
+ config.dbbackend->cached_getkeysigs(0x
94FA372B2DA8B985
);
/*
* Loop through the hash examining each key present and finding the
/*
* Loop through the hash examining each key present and finding the
@@
-52,8
+52,9
@@
void findmaxpath(unsigned long max)
from = (struct stats_key *)curkey->object;
to = tmp;
distance = to->colour;
from = (struct stats_key *)curkey->object;
to = tmp;
distance = to->colour;
- printf("Current max path (#%ld) is from %llX"
- " to %llX (%ld steps)\n",
+ printf("Current max path (#%ld) is from %"
+ PRIX64 " to %" PRIX64
+ " (%ld steps)\n",
loop,
from->keyid,
to->keyid,
loop,
from->keyid,
to->keyid,
@@
-62,7
+63,7
@@
void findmaxpath(unsigned long max)
curkey=curkey->next;
}
}
curkey=curkey->next;
}
}
- printf("Max path is from %
llX to %llX
(%ld steps)\n",
+ printf("Max path is from %
" PRIX64 " to %" PRIX64 "
(%ld steps)\n",
from->keyid,
to->keyid,
distance);
from->keyid,
to->keyid,
distance);