X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/1921fa44cfae203ae40e853ee9ecedb206fa9413..f9917d386685c7f641d493dbc78eb3eb41fb24bd:/sixdegrees.c?ds=inline diff --git a/sixdegrees.c b/sixdegrees.c index e346cf1..10b58d6 100644 --- a/sixdegrees.c +++ b/sixdegrees.c @@ -86,12 +86,13 @@ void sixdegrees(uint64_t keyid) config.dbbackend->cached_getkeysigs(keyid); if ((keyinfo = findinhash(keyid)) == NULL) { - printf("Couldn't find key 0x%" PRIx64 ".\n", keyid); + printf("Couldn't find key 0x%016" PRIX64 ".\n", keyid); return; } uid = config.dbbackend->keyid2uid(keyinfo->keyid); - printf("Six degrees for 0x%" PRIx64 " (%s):\n", keyinfo->keyid, uid); + printf("Six degrees for 0x%016" PRIX64 " (%s):\n", keyinfo->keyid, + uid); free(uid); uid = NULL; @@ -120,7 +121,7 @@ void sixdegrees(uint64_t keyid) int main(int argc, char *argv[]) { - uint64_t keyid = 0x5B430367; + uint64_t keyid = 0x2DA8B985; if (argc == 2) { keyid = strtoll(argv[1], NULL, 16);