X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=maxpath.c;h=0bdc04b9c49bba84ad72e1ec96d7945919eb2e20;hb=28d25177e72f84408c99072fbe6cf05b4fc556fb;hp=b9ba53a14b036b7b7a32cc0a3edc7b90e55c364c;hpb=5b3f77c7fbafb036d20a1577ed74f475e94ed821;p=onak.git diff --git a/maxpath.c b/maxpath.c index b9ba53a..0bdc04b 100644 --- a/maxpath.c +++ b/maxpath.c @@ -28,10 +28,10 @@ void findmaxpath(unsigned long max) from = to = tmp = NULL; /* - * My (noodles@earth.li, DSA) key is in the strongly connected set of + * My (noodles@earth.li, RSA) key is in the strongly connected set of * keys, so we use it as a suitable starting seed. */ - config.dbbackend->cached_getkeysigs(0xF1BD4BE45B430367); + config.dbbackend->cached_getkeysigs(0x94FA372B2DA8B985); /* * 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; - 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, @@ -62,7 +63,7 @@ void findmaxpath(unsigned long max) 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);